Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ cleanupSocket
Function
cleanupSocket
agent/agentsocket/socket_unix.go:47–49 ·
view source on GitHub ↗
(path string)
Source
from the content-addressed store, hash-verified
45
}
46
47
func
cleanupSocket(path string) error {
48
return
os.Remove(path)
49
}
50
51
func
isSocketAvailable(path string) bool {
52
if
_, err := os.Stat(path); os.IsNotExist(err) {
Callers
1
Close
Method · 0.70
Calls
1
Remove
Method · 0.65
Tested by
no test coverage detected