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

Function parse

internal/camconfig/camconfig.go:88–97  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

86}
87
88func parse(data []byte) (CamConfig, error) {
89 var cfg CamConfig
90 if err := yaml.Unmarshal(data, &cfg); err != nil {
91 return CamConfig{}, err
92 }
93 if cfg.Repositories == nil {
94 cfg.Repositories = map[string]RepoSources{}
95 }
96 return cfg, nil
97}

Callers 2

LoadFunction · 0.85
BundledFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected