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

Function mustf

agent/agentexec/main_linux_test.go:36–40  ·  view source on GitHub ↗
(err error, msg string, args ...any)

Source from the content-addressed store, hash-verified

34}
35
36func mustf(err error, msg string, args ...any) {
37 if err != nil {
38 panic(fmt.Sprintf(msg, args...))
39 }
40}
41
42func genDir() string {
43 dir, err := os.MkdirTemp(os.TempDir(), "agentexec")

Callers 2

buildBinaryFunction · 0.85
genDirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected