Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ genDir
Function
genDir
agent/agentexec/main_linux_test.go:42–46 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
40
}
41
42
func
genDir() string {
43
dir, err := os.MkdirTemp(os.TempDir(),
"agentexec"
)
44
mustf(err,
"create temp dir: %v"
, err)
45
return
dir
46
}
Callers
1
TestMain
Function · 0.85
Calls
2
mustf
Function · 0.85
TempDir
Method · 0.65
Tested by
no test coverage detected