MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / DefaultPath

Function DefaultPath

internal/camconfig/camconfig.go:50–52  ·  view source on GitHub ↗

DefaultPath returns the canonical config.yaml location under CAM's config directory.

()

Source from the content-addressed store, hash-verified

48// DefaultPath returns the canonical config.yaml location under CAM's config
49// directory.
50func DefaultPath() string {
51 return filepath.Join(pathutil.ConfigDir(), "config.yaml")
52}
53
54// Load returns the parsed config.yaml. When path is empty the canonical
55// location is consulted; when that file is missing the bundled defaults are

Callers 3

ListFilesMethod · 0.92
ValidateMethod · 0.92
LoadFunction · 0.70

Calls 1

ConfigDirFunction · 0.92

Tested by

no test coverage detected