MCPcopy Index your code
hub / github.com/go-git/go-git / GetCommitDataByIndex

Method GetCommitDataByIndex

plumbing/format/commitgraph/v2/commitgraph.go:48–48  ·  view source on GitHub ↗

GetNodeByIndex gets the commit node from the commit graph using index obtained from child node, if available

(i uint32)

Source from the content-addressed store, hash-verified

46 // GetNodeByIndex gets the commit node from the commit graph using index
47 // obtained from child node, if available
48 GetCommitDataByIndex(i uint32) (*CommitData, error)
49 // Hashes returns all the hashes that are available in the index
50 Hashes() []plumbing.Hash
51 // HasGenerationV2 returns true if the commit graph has the corrected commit date data

Callers 13

GetMethod · 0.65
ParentNodeMethod · 0.65
TestMixedGraphMethod · 0.65
prepareMethod · 0.65
encodeCommitDataMethod · 0.65
testDecodeHelperFunction · 0.65
TestReencodeInMemoryMethod · 0.65
GetCommitDataByIndexMethod · 0.65
prepareMethod · 0.65
encodeCommitDataMethod · 0.65
testDecodeHelperFunction · 0.65
TestDecodeMultiChainMethod · 0.65

Calls

no outgoing calls

Tested by 6

TestMixedGraphMethod · 0.52
testDecodeHelperFunction · 0.52
TestReencodeInMemoryMethod · 0.52
testDecodeHelperFunction · 0.52
TestDecodeMultiChainMethod · 0.52
TestReencodeInMemoryMethod · 0.52