MCPcopy
hub / github.com/perkeep/perkeep / syncCmd

Struct syncCmd

cmd/pk/sync.go:40–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38)
39
40type syncCmd struct {
41 src string
42 dest string
43 third string
44 srcKeyID string // GPG public key ID of the source server, if supported.
45 destKeyID string // GPG public key ID of the destination server, if supported.
46
47 loop bool
48 all bool
49 removeSrc bool
50 wipe bool
51 insecureTLS bool
52 oneIsDisk bool // Whether one of src or dest is a local disk.
53 concurrency int // max blobs to be copying at once
54 dumpConfigFlag bool
55}
56
57func init() {
58 cmdmain.RegisterMode("sync", func(flags *flag.FlagSet) cmdmain.CommandRunner {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected