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

Function newParentgraphCommitNodeIter

plumbing/object/commitgraph/commitnode.go:59–61  ·  view source on GitHub ↗
(node CommitNode)

Source from the content-addressed store, hash-verified

57}
58
59func newParentgraphCommitNodeIter(node CommitNode) CommitNodeIter {
60 return &parentCommitNodeIter{node, 0}
61}
62
63// Next moves the iterator to the next commit and returns a pointer to it. If
64// there are no more commits, it returns io.EOF.

Callers 2

ParentNodesMethod · 0.85
ParentNodesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected