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

Method Size

plumbing/object/commitgraph/commitnode_walker_helper.go:48–50  ·  view source on GitHub ↗

Size returns the number of CommitNodes in the stack

()

Source from the content-addressed store, hash-verified

46
47// Size returns the number of CommitNodes in the stack
48func (l *commitNodeLifo) Size() int {
49 return len(l.l)
50}
51
52// commitNodeHeap is a stack implementation using an underlying binary heap
53type commitNodeHeap struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected