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

Method Add

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

Add starts watching a file for changes.

(file string)

Source from the content-addressed store, hash-verified

23type Watcher interface {
24 // Add starts watching a file for changes.
25 Add(file string) error
26
27 // Remove stops watching a file for changes.
28 Remove(file string) error

Implementers 3

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

Calls

no outgoing calls