(opts *SyncOptions)
| 89 | } |
| 90 | |
| 91 | func syncRun(opts *SyncOptions) error { |
| 92 | if opts.DestArg == "" { |
| 93 | return syncLocalRepo(opts) |
| 94 | } else { |
| 95 | return syncRemoteRepo(opts) |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | func syncLocalRepo(opts *SyncOptions) error { |
| 100 | var srcRepo ghrepo.Interface |