libgit2

git_object_typeisloose

Version:

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

Signature

int git_object_typeisloose(git_otype type);

Parameters

git_otype
In
type

object type to test.

Returns

int

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

Versions