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

Method ParentNodes

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

ParentNodes return a CommitNodeIter for parents of specified node.

()

Source from the content-addressed store, hash-verified

22 NumParents() int
23 // ParentNodes return a CommitNodeIter for parents of specified node.
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

Callers 1

testParentsFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 1

testParentsFunction · 0.52