Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
81
var
_ PathMatcher = EmptyMatcher{}
82
83
func
NewWatcher(paths []string) (Notify, error) {
84
return
newWatcher(paths)
85
}
86
87
const
WindowsBufferSizeEnvVar =
"COMPOSE_WATCH_WINDOWS_BUFFER_SIZE"
88
Callers
2
watch
Method · 0.92
rebuildWatcher
Method · 0.70
Calls
1
newWatcher
Function · 0.70
Tested by
1
rebuildWatcher
Method · 0.56