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

Method Size

plumbing/object/commitgraph/commitnode_walker_helper.go:83–85  ·  view source on GitHub ↗

Size returns number of elements within the heap.

()

Source from the content-addressed store, hash-verified

81
82// Size returns number of elements within the heap.
83func (h *commitNodeHeap) Size() int {
84 return h.Heap.Size()
85}
86
87// generationAndDateOrderComparator compares two CommitNode objects based on their generation and commit time.
88// If the left CommitNode object is in a higher generation or is newer than the right one, it returns a -1.

Callers

nothing calls this directly

Calls 1

SizeMethod · 0.65

Tested by

no test coverage detected