Java org.eclipse.jgit.lib Constants fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.lib Constants fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.lib Constants.

The text is from its open source code.

Field

intOBJECT_ID_LENGTH
A Git object hash is 160 bits, i.e.
intOBJECT_ID_STRING_LENGTH
A Git object can be expressed as a 40 character string of hexadecimal digits.
StringHEAD
Special name for the "HEAD" symbolic-ref.
StringFETCH_HEAD
Special name for the "FETCH_HEAD" symbolic-ref.
StringTYPE_COMMIT
Text string that identifies an object as a commit.
StringTYPE_BLOB
Text string that identifies an object as a blob.
StringTYPE_TREE
Text string that identifies an object as a tree.
StringTYPE_TAG
Text string that identifies an object as an annotated tag.
intOBJ_BAD
An unknown or invalid object type code.
intOBJ_EXT
In-pack object type: extended types.
intOBJ_COMMIT
In-pack object type: commit.
intOBJ_TREE
In-pack object type: tree.
intOBJ_BLOB
In-pack object type: blob.
intOBJ_TAG
In-pack object type: annotated tag.
intOBJ_TYPE_5
In-pack object type: reserved for future use.
intOBJ_OFS_DELTA
In-pack object type: offset delta

Objects stored with this type actually have a different type which must be obtained from their delta base object.

intOBJ_REF_DELTA
In-pack object type: reference delta

Objects stored with this type actually have a different type which must be obtained from their delta base object.

CharsetCHARSET
Native character encoding for commit messages, file names...
StringCHARACTER_ENCODING
Native character encoding for commit messages, file names...
StringMASTER
Default main branch name
StringR_HEADS
Prefix for branch refs
StringR_REMOTES
Prefix for remotes refs
StringR_TAGS
Prefix for tag refs
StringR_NOTES
Prefix for notes refs
StringR_NOTES_COMMITS
Standard notes ref
StringR_REFS
Prefix for any ref
StringR_STASH
Standard stash ref
StringLOGS
Logs folder name
StringINFO_REFS
Info refs folder
StringPACKED_REFS
Packed refs file
StringINFO_EXCLUDE
Excludes-file
StringOS_USER_NAME_KEY
The system property that contains the system user name
StringGIT_AUTHOR_NAME_KEY
The environment variable that contains the author's name
StringGIT_AUTHOR_EMAIL_KEY
The environment variable that contains the author's email
StringGIT_COMMITTER_NAME_KEY
The environment variable that contains the commiter's name
StringGIT_COMMITTER_EMAIL_KEY
The environment variable that contains the commiter's email
StringGIT_CONFIG_NOSYSTEM_KEY
The environment variable that blocks use of the system config file
StringGIT_CEILING_DIRECTORIES_KEY
The environment variable that limits how close to the root of the file systems JGit will traverse when looking for a repository root.
StringSIGNED_OFF_BY_TAG
Beginning of the common "Signed-off-by: " commit message line
StringGITIGNORE_FILENAME
A gitignore file name
StringDEFAULT_REMOTE_NAME
Default remote name used by clone, push and fetch operations
StringDOT_GIT
Default name for the Git repository directory
StringCONFIG
Default name for the Git repository configuration
StringDOT_GIT_EXT
A bare repository typically ends with this string
StringDOT_GIT_IGNORE
Name of the ignore file
StringDOT_GIT_MODULES
Name of the submodules file
StringMODULES
Name of the folder (inside gitDir) where submodules are stored
StringMERGE_MSG
name of the file containing the commit msg for a merge commit
StringMERGE_HEAD
name of the file containing the IDs of the parents of a merge commit
StringCHERRY_PICK_HEAD
name of the file containing the ID of a cherry pick commit in case of conflicts
StringORIG_HEAD
name of the ref ORIG_HEAD used by certain commands to store the original value of HEAD

Method

byte[]encode(String str)
Convert a string to a byte array in the standard character encoding.
byte[]encodeASCII(long s)
Convert an integer into its decimal representation.
byte[]encodeASCII(String s)
Convert a string to US-ASCII encoding.
MessageDigestnewMessageDigest()
Create a new digest function for objects.
StringtypeString(int typeCode)
Convert an OBJ_* type constant to a TYPE_* type constant.