()
| 185 | } |
| 186 | |
| 187 | func newFakeSyncer() *fakeSyncer { |
| 188 | return &fakeSyncer{ |
| 189 | synced: make(chan []*sync.PathMapping), |
| 190 | } |
| 191 | } |
| 192 | |
| 193 | func (f *fakeSyncer) Sync(ctx context.Context, service string, paths []*sync.PathMapping) error { |
| 194 | f.synced <- paths |