MCPcopy Create free account
hub / github.com/LunaSource/Luna / SaveProjectConfig

Function SaveProjectConfig

config/loader.go:71–75  ·  view source on GitHub ↗
(cfg Config)

Source from the content-addressed store, hash-verified

69}
70
71func SaveProjectConfig(cfg Config) error {
72 path := filepath.Join(".", PROJECT_CONFIG_FILE)
73 data, _ := json.MarshalIndent(cfg, "", " ")
74 return ioutil.WriteFile(path, data, 0644)
75}

Callers 2

initConfigInteractiveFunction · 0.85
createProjectConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected