libgit2

git_object_typeisloose

Deprecated
Version:

Determine if the given git_object_t is a valid object type.

Deprecations

  • use `git_object_type_is_valid`

Signature

int git_object_typeisloose(git_object_t type);

Parameters

In
type

object type to test.

Returns

int

1 if the type represents a valid object type, 0 otherwise

Versions