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

Method ParentCount

commit.go:185–189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

183}
184
185func (c *Commit) ParentCount() uint {
186 ret := uint(C.git_commit_parentcount(c.cast_ptr))
187 runtime.KeepAlive(c)
188 return ret
189}
190
191func (c *Commit) Amend(refname string, author, committer *Signature, message string, tree *Tree) (*Oid, error) {
192 var cref *C.char

Callers 2

checkAllCommitsSignedFunction · 0.80
commitMsgsListFunction · 0.80

Calls

no outgoing calls

Tested by 2

checkAllCommitsSignedFunction · 0.64
commitMsgsListFunction · 0.64