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

Method EffectiveName

internal/repoconfig/repoconfig.go:86–91  ·  view source on GitHub ↗

EffectiveName returns the repo name, preferring RepoName for plugin entries.

()

Source from the content-addressed store, hash-verified

84
85// EffectiveName returns the repo name, preferring RepoName for plugin entries.
86func (r RepoEntry) EffectiveName() string {
87 if r.RepoName != "" {
88 return r.RepoName
89 }
90 return r.Name
91}
92
93// EffectiveBranch returns the branch, defaulting to "main".
94func (r RepoEntry) EffectiveBranch() string {

Callers 6

entityListCommandFunction · 0.80
dryRunAllReposFunction · 0.80
fetchAllReposFunction · 0.80
RefreshAllMethod · 0.80

Calls

no outgoing calls

Tested by 1