git_commit_parentcount

Get the number of parents of this commit

extern (C) nothrow @nogc
uint
git_commit_parentcount

Parameters

commit const(libgit2_d.types.git_commit)*

a previously loaded commit.

Return Value

Type: uint

integer of count of parents

Meta