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

Method Next

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

Next blocks until a file system event occurs or the context is canceled. It returns the next event or an error if the watcher encountered a problem.

(context.Context)

Source from the content-addressed store, hash-verified

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.
32 Next(context.Context) (*fsnotify.Event, error)
33
34 // Close shuts down the watcher and releases any resources.
35 Close() error

Implementers 3

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

Calls

no outgoing calls