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

Method GetCommitDataByIndex

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

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

(i int)

Source from the content-addressed store, hash-verified

36 // GetNodeByIndex gets the commit node from the commit graph using index
37 // obtained from child node, if available
38 GetCommitDataByIndex(i int) (*CommitData, error)
39 // Hashes returns all the hashes that are available in the index
40 Hashes() []plumbing.Hash
41}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected