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

Method Close

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

Close shuts down the watcher and releases any resources.

()

Source from the content-addressed store, hash-verified

33
34 // Close shuts down the watcher and releases any resources.
35 Close() error
36}
37
38type fsnotifyWatcher struct {

Callers 15

CloseMethod · 0.65
startMethod · 0.65
createSocketFunction · 0.65
isSocketAvailableFunction · 0.65
CloseMethod · 0.65
CloseMethod · 0.65
ConnectRPC29Method · 0.65
NewFunction · 0.65
readAndSanitizeFileFunction · 0.65
discoverSkillsFunction · 0.65
streamFileMethod · 0.65
readFileLinesMethod · 0.65

Implementers 3

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

Calls

no outgoing calls

Tested by 15

TestExecuteBasicFunction · 0.52
TestEnvFunction · 0.52
TestTimeoutFunction · 0.52
TestScriptReportsTimingFunction · 0.52
TestCronCloseFunction · 0.52
TestExecuteOptionsFunction · 0.52
TestServer_X11Function · 0.52
sshClientFunction · 0.52
Test_sessionStart_orphanFunction · 0.52
TestIntegrationDockerFunction · 0.52