Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { StorageClass string Start string End string Threads int Update bool ForceUpdate bool Perms bool Dry bool DeleteSrc bool DeleteDst bool Dirs bool Exclude []string Include []string Existing bool IgnoreExisting bool Links bool Limit int64 Manager string Workers []string ManagerAddr string ListThreads int ListDepth int BWLimit int NoHTTPS bool Verbose bool Quiet bool CheckAll bool CheckNew bool Env map[string]string // contains filtered or unexported fields }
func NewConfigFromCli ¶
func NewConfigFromCli(c *cli.Context) *Config
type Stat ¶
type Stat struct { Copied int64 // the number of copied files CopiedBytes int64 // total amount of copied data in bytes Checked int64 // the number of checked files CheckedBytes int64 // total amount of checked data in bytes Deleted int64 // the number of deleted files Skipped int64 // the number of files skipped Failed int64 // the number of files that fail to copy }
Stat has the counters to represent the progress.
Click to show internal directories.
Click to hide internal directories.