libgit2

git_object_type

Version:

Get the object type of an object

Signature

git_otype git_object_type(git_object *obj);

Parameters

In
obj

the repository object

Returns

the object's type

Versions