libgit2

git_object_type

Version:

Get the object type of an object

Signature

git_otype git_object_type(git_object *obj);

Parameters

git_object *
In
obj

the repository object

Returns

git_otype

the object's type

Versions