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_object.go:54–56 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
52
}
53
54
func
(c *objectCommitNode) Tree() (*object.Tree, error) {
55
return
c.commit.Tree()
56
}
57
58
func
(c *objectCommitNode) NumParents() int {
59
return
c.commit.NumParents()
Callers
nothing calls this directly
Calls
1
Tree
Method · 0.65
Tested by
no test coverage detected