Documentation
¶
Overview ¶
Package cmdsync implements the "ffs sync" subcommand.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &command.C{ Name: "sync", Usage: `@<file-key>[/path/...] ... <root-key>[/path/...] ...`, Help: `Synchronize file trees between stores. Transfer all the objects reachable from the specified file or root paths from one store into another. If --to=target is set, objects are copied from --store to the specified target; if --from=source is set, objects are copied from source to the --store. Exactly one of --to and --from must be set. By default, an argument that specifies a plain root name causes that root (and its index, if one exists) to be copied along with the files reachable from it. Use --no-root to skip copying the root and index, and only copy its file tree. `, SetFlags: command.Flags(flax.MustBind, &syncFlags), Run: command.Adapt(runSync), }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.