Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
78
func
(c *graphCommitNode) Tree() (*object.Tree, error) {
79
return
object.GetTree(c.gci.s, c.commitData.TreeHash)
80
}
81
82
func
(c *graphCommitNode) CommitTime() time.Time {
83
return
c.commitData.When
Callers
nothing calls this directly
Calls
1
GetTree
Function · 0.92
Tested by
no test coverage detected