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

Function effectiveBranch

internal/metadata/refresh.go:618–626  ·  view source on GitHub ↗
(e repoEntry)

Source from the content-addressed store, hash-verified

616}
617
618func effectiveBranch(e repoEntry) string {
619 if e.RepoBranch != "" {
620 return e.RepoBranch
621 }
622 if e.Branch != "" {
623 return e.Branch
624 }
625 return "main"
626}
627
628func entryName(e repoEntry, key string) string {
629 if e.Name != "" {

Callers 1

RefreshFromFilesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected