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

Function NewWatcher

pkg/watch/notify.go:83–85  ·  view source on GitHub ↗
(paths []string)

Source from the content-addressed store, hash-verified

81var _ PathMatcher = EmptyMatcher{}
82
83func NewWatcher(paths []string) (Notify, error) {
84 return newWatcher(paths)
85}
86
87const WindowsBufferSizeEnvVar = "COMPOSE_WATCH_WINDOWS_BUFFER_SIZE"
88

Callers 2

watchMethod · 0.92
rebuildWatcherMethod · 0.70

Calls 1

newWatcherFunction · 0.70

Tested by 1

rebuildWatcherMethod · 0.56