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

Method ID

plumbing/object/commitgraph/commitnode_object.go:50–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50func (c *objectCommitNode) ID() plumbing.Hash {
51 return c.commit.ID()
52}
53
54func (c *objectCommitNode) Tree() (*object.Tree, error) {
55 return c.commit.Tree()

Callers

nothing calls this directly

Calls 1

IDMethod · 0.65

Tested by

no test coverage detected