MCPcopy Index your code
hub / github.com/coder/coder / Remove

Method Remove

agent/agentcontainers/watcher/watcher.go:28–28  ·  view source on GitHub ↗

Remove stops watching a file for changes.

(file string)

Source from the content-addressed store, hash-verified

26
27 // Remove stops watching a file for changes.
28 Remove(file string) error
29
30 // Next blocks until a file system event occurs or the context is canceled.
31 // It returns the next event or an error if the watcher encountered a problem.

Callers 3

TestNoopWatcherFunction · 0.65
TestFSNotifyWatcherFunction · 0.65
RemoveMethod · 0.65

Implementers 3

fakeWatcheragent/agentcontainers/api_test.go
noopWatcheragent/agentcontainers/watcher/noop.go
fsnotifyWatcheragent/agentcontainers/watcher/watcher.

Calls

no outgoing calls

Tested by 2

TestNoopWatcherFunction · 0.52
TestFSNotifyWatcherFunction · 0.52