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

Method watch

pkg/watch/notify_test.go:516–519  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

514}
515
516func (f *notifyFixture) watch(path string) {
517 f.paths = append(f.paths, path)
518 f.rebuildWatcher()
519}
520
521func (f *notifyFixture) rebuildWatcher() {
522 // sync any outstanding events and close the old watcher

Callers 15

newNotifyFixtureFunction · 0.95
TestDontWatchEachFileFunction · 0.45
TestEventOrderingFunction · 0.45
TestGitBranchSwitchFunction · 0.45
TestWatchesAreRecursiveFunction · 0.45
TestWatchNonExistentPathFunction · 0.45
TestRemoveFunction · 0.45
TestRemoveAndAddBackFunction · 0.45
TestSingleFileFunction · 0.45

Calls 1

rebuildWatcherMethod · 0.95

Tested by

no test coverage detected