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

Method ParentNodes

plumbing/object/commitgraph/commitnode_graph.go:90–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88}
89
90func (c *graphCommitNode) ParentNodes() CommitNodeIter {
91 return newParentgraphCommitNodeIter(c)
92}
93
94func (c *graphCommitNode) ParentNode(i int) (CommitNode, error) {
95 if i < 0 || i >= len(c.commitData.ParentIndexes) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected