git_commit_id

Get the id of a commit.

extern (C) nothrow @nogc public
git_commit_id

Parameters

commit const(libgit2.types.git_commit)*

a previously loaded commit.

Return Value

Type: const(libgit2.oid.git_oid)*

object identity for the commit.

Meta