MCPcopy Index your code
hub / github.com/codebench-dev/worker / getSocketPath

Function getSocketPath

options.go:55–66  ·  view source on GitHub ↗
(vmmID string)

Source from the content-addressed store, hash-verified

53}
54
55func getSocketPath(vmmID string) string {
56 filename := strings.Join([]string{
57 ".firecracker.sock",
58 strconv.Itoa(os.Getpid()),
59 vmmID,
60 },
61 "-",
62 )
63 dir := os.TempDir()
64
65 return filepath.Join(dir, filename)
66}

Callers 1

getFirecrackerConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected