MCPcopy Create free account
hub / github.com/JordanCoin/codemap / ConfigPath

Function ConfigPath

config/config.go:201–203  ·  view source on GitHub ↗

ConfigPath returns the path to .codemap/config.json for the given root.

(root string)

Source from the content-addressed store, hash-verified

199
200// ConfigPath returns the path to .codemap/config.json for the given root.
201func ConfigPath(root string) string {
202 return filepath.Join(root, ".codemap", "config.json")
203}
204
205// Load reads .codemap/config.json from root.
206// Returns zero-value ProjectConfig if the file is missing.

Callers 12

RunSetupFunction · 0.92
configInitFunction · 0.92
initProjectConfigFunction · 0.92
configShowFunction · 0.92
writeProjectConfigFunction · 0.92
TestConfigPathFunction · 0.85
LoadFunction · 0.85
AssessSetupFunction · 0.85

Calls

no outgoing calls