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

Method ParentNode

plumbing/object/commitgraph/commitnode.go:26–26  ·  view source on GitHub ↗

ParentNode returns the ith parent of a commit.

(i int)

Source from the content-addressed store, hash-verified

24 ParentNodes() CommitNodeIter
25 // ParentNode returns the ith parent of a commit.
26 ParentNode(i int) (CommitNode, error)
27 // ParentHashes returns hashes of the parent commits for a specified node
28 ParentHashes() []plumbing.Hash
29 // Generation returns the generation of the commit for reachability analysis.

Callers 4

NextMethod · 0.95
NextMethod · 0.95
getLastCommitForPathsFunction · 0.65
NextMethod · 0.65

Implementers 2

graphCommitNodeplumbing/object/commitgraph/commitnode
objectCommitNodeplumbing/object/commitgraph/commitnode

Calls

no outgoing calls

Tested by

no test coverage detected