MCPcopy
hub / github.com/perkeep/perkeep / sync

Method sync

cmd/pk/index.go:74–80  ·  view source on GitHub ↗
(from, to string)

Source from the content-addressed store, hash-verified

72}
73
74func (c *indexCmd) sync(from, to string) error {
75 return (&syncCmd{
76 src: from,
77 dest: to,
78 wipe: c.wipe,
79 }).RunCommand(nil)
80}
81
82// discoClient returns a client initialized with a server
83// based from the configuration file. The returned client

Callers 1

RunCommandMethod · 0.95

Calls 1

RunCommandMethod · 0.65

Tested by

no test coverage detected