(from, to string)
| 72 | } |
| 73 | |
| 74 | func (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 |