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

Method Hashes

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

Hashes returns all the hashes that are available in the index

()

Source from the content-addressed store, hash-verified

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
52 HasGenerationV2() bool
53 // MaximumNumberOfHashes returns the maximum number of hashes within the index

Callers 8

TestMixedGraphMethod · 0.65
EncodeMethod · 0.65
testDecodeHelperFunction · 0.65
TestReencodeInMemoryMethod · 0.65
EncodeMethod · 0.65
testDecodeHelperFunction · 0.65
TestDecodeMultiChainMethod · 0.65
TestReencodeInMemoryMethod · 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