Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/go-git/go-git
/ ID
Method
ID
plumbing/object/commitgraph/commitnode_graph.go:74–76 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
72
}
73
74
func
(c *graphCommitNode) ID() plumbing.Hash {
75
return
c.hash
76
}
77
78
func
(c *graphCommitNode) Tree() (*object.Tree, error) {
79
return
object.GetTree(c.gci.s, c.commitData.TreeHash)
Callers
1
String
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected