Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/go-git/go-git
/ Commit
Method
Commit
plumbing/object/commitgraph/commitnode_object.go:95–97 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
93
}
94
95
func
(c *objectCommitNode) Commit() (*object.Commit, error) {
96
return
c.commit, nil
97
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected