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

Method Len

blame.go:513–513  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

511type priorityQueueImp []*queueItem
512
513func (pq *priorityQueueImp) Len() int { return len(*pq) }
514func (pq *priorityQueueImp) Less(i, j int) bool {
515 return !(*pq)[i].Commit.Less((*pq)[j].Commit)
516}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected