Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { PartSize int64 `short:"p" long:"part-size" description:"Part size in bytes of parts to be downloaded"` Concurrency int `short:"c" long:"concurrency" description:"Download concurrency"` BufferSize int `short:"b" long:"buffer-size" description:"Size of download buffer in bytes"` Checksum bool `long:"checksum" description:"Compare checksum if downloading or place checksum in metadata if uploading"` Duration bool `short:"d" long:"duration" description:"Prints the duration of the download"` MMap bool `short:"m" long:"mmap" description:"Use mmap for downloads"` Positional struct { Source string `description:"Source to copy from" required:"yes"` Destination string `description:"Destination to copy to (Optional, defaults to source's base name)"` } `positional-args:"yes"` }
Options - the options passed to the executable
Click to show internal directories.
Click to hide internal directories.