| 38 | ) |
| 39 | |
| 40 | type 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 | |
| 57 | func init() { |
| 58 | cmdmain.RegisterMode("sync", func(flags *flag.FlagSet) cmdmain.CommandRunner { |
nothing calls this directly
no outgoing calls
no test coverage detected