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

Function repoConfigKey

internal/repoconfig/repoconfig.go:332–337  ·  view source on GitHub ↗
(kind entities.Kind)

Source from the content-addressed store, hash-verified

330}
331
332func repoConfigKey(kind entities.Kind) string {
333 if kind == entities.KindInstruction {
334 return "instructions"
335 }
336 return string(kind) + "s" // "skills", "agents", "plugins"
337}
338
339// MigrateRepoConfigFiles migrates legacy prompt_repos.json files to the
340// canonical instruction_repos.json name. If instruction_repos.json already

Callers 2

TestRepoConfigKeyFunction · 0.85
LoadAllFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestRepoConfigKeyFunction · 0.68