MCPcopy Create free account
hub / github.com/go-git/go-git / Len

Method Len

worktree_commit.go:239–239  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

237 return te.Name
238}
239func (se sortableEntries) Len() int { return len(se) }
240func (se sortableEntries) Less(i int, j int) bool { return se.sortName(se[i]) < se.sortName(se[j]) }
241func (se sortableEntries) Swap(i int, j int) { se[i], se[j] = se[j], se[i] }
242

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected