Exemple #1
0
func (c *Commit) ParentCount() uint {
	return uint(C.git_commit_parentcount(c.cast_ptr))
}
Exemple #2
0
func (commit *Commit) ParentCount() uint {
	return uint(C.git_commit_parentcount(commit.git_commit))
}