MCPcopy Create free account
hub / github.com/jetify-com/devbox / globalProcessComposeJSONPath

Function globalProcessComposeJSONPath

internal/services/manager.go:54–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52}
53
54func globalProcessComposeJSONPath() (string, error) {
55 path := xdg.DataSubpath(filepath.Join("devbox", "global"))
56 return filepath.Join(path, "process-compose.json"), errors.WithStack(os.MkdirAll(path, 0o755))
57}
58
59func readGlobalProcessComposeJSON(file *os.File) *globalProcessComposeConfig {
60 config := newGlobalProcessComposeConfig()

Callers 1

openGlobalConfigFileFunction · 0.85

Calls 1

DataSubpathFunction · 0.92

Tested by

no test coverage detected