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

Method ID

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

ID returns the Commit object id referenced by the commit graph node.

()

Source from the content-addressed store, hash-verified

14type CommitNode interface {
15 // ID returns the Commit object id referenced by the commit graph node.
16 ID() plumbing.Hash
17 // Tree returns the Tree referenced by the commit graph node.
18 Tree() (*object.Tree, error)
19 // CommitTime returns the Committer.When time of the Commit referenced by the commit graph node.

Callers 9

NextMethod · 0.95
NextMethod · 0.95
testTopoOrderFunction · 0.65
testDateOrderFunction · 0.65
testAuthorDateOrderFunction · 0.65
testWalkerFunction · 0.65
testParentsFunction · 0.65
testCommitAndTreeFunction · 0.65
IDMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 6

testTopoOrderFunction · 0.52
testDateOrderFunction · 0.52
testAuthorDateOrderFunction · 0.52
testWalkerFunction · 0.52
testParentsFunction · 0.52
testCommitAndTreeFunction · 0.52