MCPcopy
hub / github.com/docker/compose / newFakeSyncer

Function newFakeSyncer

pkg/compose/watch_test.go:187–191  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

TestWatch_SyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected