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

Method Tree

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

Source from the content-addressed store, hash-verified

52}
53
54func (c *objectCommitNode) Tree() (*object.Tree, error) {
55 return c.commit.Tree()
56}
57
58func (c *objectCommitNode) NumParents() int {
59 return c.commit.NumParents()

Callers

nothing calls this directly

Calls 1

TreeMethod · 0.65

Tested by

no test coverage detected