libgit2

git_object_typeisloose

Version:

Determine if the given git_object_t is a valid loose object type.

Signature

int git_object_typeisloose(git_object_t type);

Parameters

In
type

object type to test.

Returns

int

true if the type represents a valid loose object type, false otherwise.

Versions