libgit2-d v1.6.0 (2023-05-05T07:03:44Z)
Home
Dub
Repo
git_object_type
libgit2
object
Get the object type of an object
extern (
C
) nothrow @
nogc
public
@
GIT_EXTERN
libgit2.types.git_object_t
git_object_type
(
const
(
libgit2.types.git_object
)*
obj
)
Parameters
obj
const
(
libgit2
.
types
.
git_object
)*
the repository object
Return Value
Type:
libgit2
.
types
.
git_object_t
the object's type
Meta
Source
See Implementation
libgit2
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_rawcontent_is_valid
git_object_short_id
git_object_string2type
git_object_type
git_object_type2string
git_object_typeisloose
manifest constants
GIT_OBJECT_SIZE_MAX
Get the object type of an object