git_annotated_commit_id

Gets the commit ID that the given git_annotated_commit refers to.

extern (C) nothrow @nogc public
git_annotated_commit_id

Parameters

commit const(libgit2.types.git_annotated_commit)*

the given annotated commit

Return Value

Type: const(libgit2.oid.git_oid)*

commit id

Meta