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

Method ID

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

Source from the content-addressed store, hash-verified

72}
73
74func (c *graphCommitNode) ID() plumbing.Hash {
75 return c.hash
76}
77
78func (c *graphCommitNode) Tree() (*object.Tree, error) {
79 return object.GetTree(c.gci.s, c.commitData.TreeHash)

Callers 1

StringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected