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

Method Tree

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

Source from the content-addressed store, hash-verified

76}
77
78func (c *graphCommitNode) Tree() (*object.Tree, error) {
79 return object.GetTree(c.gci.s, c.commitData.TreeHash)
80}
81
82func (c *graphCommitNode) CommitTime() time.Time {
83 return c.commitData.When

Callers

nothing calls this directly

Calls 1

GetTreeFunction · 0.92

Tested by

no test coverage detected