Package org.eclipse.jgit.lib
package org.eclipse.jgit.lib
Core API for repository, config, refs, object database.
-
ClassDescriptionGit configuration option <a href=https://git-scm.com/docs/git-config#Documentation/git-config.txt-coreabbrev"> core.abbrevA prefix abbreviation of an
ObjectId
.A (possibly mutable) SHA-1 abstraction.AsyncObjectLoaderQueue<T extends ObjectId>Queue to open objects asynchronously.AsyncObjectSizeQueue<T extends ObjectId>Queue to examine object sizes asynchronously.Asynchronous operation handle.Base builder to customize repository construction.ProgressMonitor that batches update events.Batch of reference updates to be applied to a repository.A compressed bitmap representation of the entire object graph.A bitmap representation of ObjectIds that can be iterated to return the underlyingObjectId
s or operated on with otherBitmap
s.A builder for a bitmap.Base object type accessed during bitmap expansion.Configuration file based on the blobs stored in the repository.Verifies that a blob object is a valid object.Branch section of a Git configuration file.Config values for branch.[name].rebase (and pull.rebase).Status of a branch's relation to its remote-tracking branch.Parsed information about a checkout.Mutable builder to construct a commit recording the state of a project.The standard "commit" configuration parameters.How to clean up commit messages when committing.Git style.config
,.gitconfig
,.gitmodules
file.Converts enumeration values into configuration options and vice-versa, allowing to match a config option with an enum value.Parses a section of the configuration into an application model object.Constants for use with the Configuration classes: section names, configuration keysA line in a GitConfig
file.Misc.This class keeps git repository core parameters.Permissible values forcore.autocrlf
.Permissible values forcore.checkstat
.Permissible values forcore.eol
.EOL stream conversion protocol.Options for hiding files whose names start with a period.Permissible values forcore.logAllRefUpdates
.Options for symlink handlingAnTypedConfigGetter
that throwsIllegalArgumentException
on invalid values.A convenient base class which provides empty method bodies for all ProgressMonitor methods.Constants describing various file modes recognized by GIT.A .gitmodules file found in the pack.Typed access to GPG related configuration options.Config values for gpg.format.Creates GPG signatures for Git objects.A structure for holding GPG signature together with additional related data.AGpgVerifier
can verify GPG signatures on git commits and tags.ASignatureVerification
returns data about a (positively or negatively) verified signature.The owner's trust in a public key.AGpgSignatureVerifierFactory
createsGpgSignatureVerifier
instances.Creates GPG signatures for Git objects.Compares the index, a tree, and the working directory Ignored files are not taken into account.Represents the state of the index for a certain path regarding the stages - which stages exist for a path and which not (base, ours, theirs).A factory to producing WorkingTreeIteratorsCreates zlib based inflaters as necessary for object decompression.A mutable SHA-1 abstraction.A NullProgressMonitor does not report progress anywhere.Common base class forCommitBuilder
andTagBuilder
.Verifies that an object is formatted correctly.Potential issues identified by the checker.Abstraction of arbitrary object storage.A SHA-1 abstraction.ObjectIdOwnerMap<V extends ObjectIdOwnerMap.Entry>Fast, efficient map forObjectId
subclasses in only one map.Type of entry stored in theObjectIdOwnerMap
.A reference to a non-tag object coming from a cached source.An annotated tag whose peeled object has been cached.Any reference whose peeled value is not yet known.Helper to serializeObjectId
instances.Simple set of ObjectIds.ObjectIdSubclassMap<V extends ObjectId>Fast, efficient map specifically forObjectId
subclasses.Inserts objects into an existingObjectDatabase
.Wraps a delegate ObjectInserter.An inserter that can be used for formatting and id generation only.Base class for a set of loaders for different representations of Git objects.Wraps a delegate ObjectLoader.Simple loader around the cached byte array.Reads anObjectDatabase
for a single thread.Wraps a delegate ObjectReader.Stream of data coming from an object loaded byObjectLoader
.Simple filter stream around another stream.Simple stream around the cached byte array created by a loader.A combination of a person identity and time in Git.A progress reporting interface.Offers methods to read and write files formatted like the git-rebase-todo fileDescribes a single line in a file formatted like the git-rebase-todo file.Describes rebase actionsPairing of a name and theObjectId
it currently has.Location where aRef
is stored.Util for sorting (or comparing) Ref instances by name.Abstraction of name toObjectId
mapping.Parsed reflog entryUtility for reading reflog entriesA RefUpdate combination for renaming a reference.Creates, updates or deletes any reference.Status of an update request.Handle the abstraction of storing a ref update.Writes out refs to theConstants.INFO_REFS
andConstants.PACKED_REFS
files.Represents a Git repository.Base class to support constructing aRepository
.A factory forBaseRepositoryBuilder
s.Cache of activeRepository
instances.Location of a Repository, using the standard java.io.File API.Abstract hash key forRepositoryCache
entries.Configuration parameters for JVM-wide repository cache used by JGit.Important state of the repository that affects what can and cannot bed done.Persistent configuration that can be stored and loaded from a location.Submodule section of a Git configuration file.Config values for submodule.[name].fetchRecurseSubmodules.A reference that indirectly points at anotherRef
.Mutable builder to construct an annotated tag recording a project state.A simple progress reporter printing on a stream.Wrapper around the generalProgressMonitor
to make it thread safe.Mutable formatter to construct a single tree object.Something that knows how to convert plain strings from a gitConfig
to typed values.The standard "user" configuration parameters.