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

Method ParentHashes

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

ParentHashes returns hashes of the parent commits for a specified node

()

Source from the content-addressed store, hash-verified

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.
30 // Objects with newer generation are not reachable from objects of older generation.
31 Generation() uint64

Callers 2

NextMethod · 0.95
NextMethod · 0.95

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected