MCPcopy 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
42func genDir() string {
43 dir, err := os.MkdirTemp(os.TempDir(), "agentexec")
44 mustf(err, "create temp dir: %v", err)
45 return dir
46}

Callers 1

TestMainFunction · 0.85

Calls 2

mustfFunction · 0.85
TempDirMethod · 0.65

Tested by

no test coverage detected