MCPcopy Create free account
hub / github.com/cli/cli / Len

Method Len

git/objects.go:11–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9type RemoteSet []*Remote
10
11func (r RemoteSet) Len() int { return len(r) }
12func (r RemoteSet) Swap(i, j int) { r[i], r[j] = r[j], r[i] }
13func (r RemoteSet) Less(i, j int) bool {
14 return remoteNameSortScore(r[i].Name) > remoteNameSortScore(r[j].Name)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected