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

Method Stop

pkg/compose/watch.go:102–112  ·  pkg/compose/watch.go::Watcher.Stop
()

Source from the content-addressed store, hash-verified

100}
101
102func (w *Watcher) Stop() error {
103 mx.Lock()
104 defer mx.Unlock()
105 if w.stopFn == nil {
106 return nil
107 }
108 w.stopFn()
109 w.stopFn = nil
110 err := <-w.errCh
111 return err
112}
113
114// getSyncImplementation returns an appropriate sync implementation for the
115// project.

Callers 1

UpMethod · 0.95

Calls 1

LockMethod · 0.45

Tested by

no test coverage detected