git_object_id

Get the id (SHA1) of a repository object

extern (C) nothrow @nogc
git_object_id

Parameters

obj const(libgit2_d.types.git_object)*

the repository object

Return Value

Type: const(libgit2_d.oid.git_oid)*

the SHA1 id

Meta