MCPcopy Create free account
hub / github.com/libgit2/git2go / Commit

Struct Commit

commit.go:24–28  ·  view source on GitHub ↗

Commit

Source from the content-addressed store, hash-verified

22
23// Commit
24type Commit struct {
25 doNotCompare
26 Object
27 cast_ptr *C.git_commit
28}
29
30func (c *Commit) AsObject() *Object {
31 return &c.Object

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected