MCPcopy Index your code
hub / github.com/go-git/go-git / Commit

Method Commit

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

Source from the content-addressed store, hash-verified

128}
129
130func (c *graphCommitNode) Commit() (*object.Commit, error) {
131 return object.GetCommit(c.gci.s, c.hash)
132}
133
134func (c *graphCommitNode) String() string {
135 return fmt.Sprintf(

Callers

nothing calls this directly

Calls 1

GetCommitFunction · 0.92

Tested by

no test coverage detected