Xgit v0.7.1 Xgit.ObjectType View Source
Describes the known git object types.
There are four distinct object types that can be stored in a git repository. Xgit communicates internally about these object types using the following atoms:
This module is intended to be
used. Doing so will create an
alias to the module
so as to make
ObjectType.t available for typespecs and will
Link to this section Summary
Link to this section Types
Link to this section Functions
Parses a byte list and converts it to an object-type atom.
:error if the byte list doesn't match any of the known-valid object types.
This guard requires the value to be one of the four known git object types.
true if the value is one of the four known git object types.