libgit2-d ~master (2021-07-01T09:53:17Z)
Home
Dub
Repo
git_object_id
libgit2_d
object
Get the id (SHA1) of a repository object
extern (
C
) nothrow @
nogc
const
(
libgit2_d.oid.git_oid
)*
git_object_id
(
const
(
libgit2_d.types.git_object
)*
obj
)
Parameters
obj
const
(
libgit2_d
.
types
.
git_object
)*
the repository object
Return Value
Type:
const
(
libgit2_d
.
oid
.
git_oid
)*
the SHA1 id
Meta
Source
See Implementation
libgit2_d
object
functions
git_object_dup
git_object_free
git_object_id
git_object_lookup
git_object_lookup_bypath
git_object_lookup_prefix
git_object_owner
git_object_peel
git_object_short_id
git_object_string2type
git_object_type
git_object_type2string
git_object_typeisloose
manifest constants
GIT_OBJECT_SIZE_MAX
Get the id (SHA1) of a repository object