This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
+the Free Software Foundation, version 3 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
pkt *Pkt,
nice uint8,
size, minSize int64,
- src io.Reader) (*Node, error) {
+ src io.Reader,
+) (*Node, error) {
tmp, err := ctx.NewTmpFileWHash()
if err != nil {
return nil, err
nice uint8,
srcPath, dstPath string,
minSize int64,
- chunkSize int64) error {
+ chunkSize int64,
+) error {
if dstPath == "" {
if srcPath == "-" {
return errors.New("Must provide destination filename")
handle string,
args []string,
body []byte,
- minSize int64) error {
+ minSize int64,
+) error {
path := make([][]byte, 0, 1+len(args))
path = append(path, []byte(handle))
for _, arg := range args {