enum

Git2::GitObjectT

Inherits Enum < Comparable < Value < Object

Constants

GIT_OBJECT_ANY = -2
GIT_OBJECT_INVALID = -1
GIT_OBJECT_COMMIT = 1
GIT_OBJECT_TREE = 2
GIT_OBJECT_BLOB = 3
GIT_OBJECT_TAG = 4
GIT_OBJECT_OFS_DELTA = 6
GIT_OBJECT_REF_DELTA = 7

Instance methods

git_object_any?

Returns true if this enum value equals GIT_OBJECT_ANY

Source
git_object_blob?

Returns true if this enum value equals GIT_OBJECT_BLOB

Source
git_object_commit?

Returns true if this enum value equals GIT_OBJECT_COMMIT

Source
git_object_invalid?

Returns true if this enum value equals GIT_OBJECT_INVALID

Source
git_object_ofs_delta?

Returns true if this enum value equals GIT_OBJECT_OFS_DELTA

Source
git_object_ref_delta?

Returns true if this enum value equals GIT_OBJECT_REF_DELTA

Source
git_object_tag?

Returns true if this enum value equals GIT_OBJECT_TAG

Source
git_object_tree?

Returns true if this enum value equals GIT_OBJECT_TREE

Source