MCPcopy Create free account
hub / github.com/libgit2/pygit2 / ObjectType

Class ObjectType

pygit2/enums.py:921–944  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

919
920
921class ObjectType(IntEnum):
922 ANY = _pygit2.GIT_OBJECT_ANY
923 'Object can be any of the following'
924
925 INVALID = _pygit2.GIT_OBJECT_INVALID
926 'Object is invalid.'
927
928 COMMIT = _pygit2.GIT_OBJECT_COMMIT
929 'A commit object.'
930
931 TREE = _pygit2.GIT_OBJECT_TREE
932 'A tree (directory listing) object.'
933
934 BLOB = _pygit2.GIT_OBJECT_BLOB
935 'A file revision object.'
936
937 TAG = _pygit2.GIT_OBJECT_TAG
938 'An annotated tag object.'
939
940 OFS_DELTA = _pygit2.GIT_OBJECT_OFS_DELTA
941 'A delta, base is given by an offset.'
942
943 REF_DELTA = _pygit2.GIT_OBJECT_REF_DELTA
944 'A delta, base is given by object id.'
945
946
947class Option(IntEnum):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…