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

Method Close

pkg/watch/watcher_darwin.go:98–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96}
97
98func (d *fseventNotify) Close() error {
99 d.closeOnce.Do(func() {
100 numberOfWatches.Add(int64(-len(d.stream.Paths)))
101
102 d.stream.Stop()
103 close(d.errors)
104 close(d.stop)
105 })
106
107 return nil
108}
109
110func (d *fseventNotify) Events() chan FileEvent {
111 return d.events

Callers

nothing calls this directly

Calls 2

StopMethod · 0.65
AddMethod · 0.45

Tested by

no test coverage detected