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

Function entryName

internal/metadata/refresh.go:628–637  ·  view source on GitHub ↗
(e repoEntry, key string)

Source from the content-addressed store, hash-verified

626}
627
628func entryName(e repoEntry, key string) string {
629 if e.Name != "" {
630 return e.Name
631 }
632 parts := strings.Split(key, "/")
633 if len(parts) > 1 {
634 return parts[len(parts)-1]
635 }
636 return key
637}
638
639func entryPath(e repoEntry, kind string) string {
640 switch kind {

Callers 1

RefreshFromFilesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected