git_object_t

Basic type (loose or packed) of any Git object.

Values

ValueMeaning
GIT_OBJECT_ANY-2

Object can be any of the following

GIT_OBJECT_INVALID-1

Object is invalid.

GIT_OBJECT_COMMIT1

A commit object.

GIT_OBJECT_TREE2

A tree (directory listing) object.

GIT_OBJECT_BLOB3

A file revision object.

GIT_OBJECT_TAG4

An annotated tag object.

GIT_OBJECT_OFS_DELTA6

A delta, base is given by an offset.

GIT_OBJECT_REF_DELTA7

A delta, base is given by object id.

Meta