Package org.eclipse.jgit.lib
Core API for repository, config, refs, object database.
-
Interface Summary Interface Description AsyncObjectLoaderQueue<T extends ObjectId> Queue to open objects asynchronously.AsyncObjectSizeQueue<T extends ObjectId> Queue to examine object sizes asynchronously.AsyncOperation Asynchronous operation handle.BitmapIndex A compressed bitmap representation of the entire object graph.BitmapIndex.Bitmap A bitmap representation of ObjectIds that can be iterated to return the underlyingObjectId
s or operated on with otherBitmap
s.BitmapIndex.BitmapBuilder A builder for a bitmap.BlobObjectChecker Verifies that a blob object is a valid object.CheckoutEntry Parsed information about a checkout.Config.ConfigEnum Converts enumeration values into configuration options and vice-versa, allowing to match a config option with an enum value.Config.SectionParser<T> Parses a section of the configuration into an application model object.GpgObjectSigner Creates GPG signatures for Git objects.GpgSignatureVerifier AGpgVerifier
can verify GPG signatures on git commits and tags.GpgSignatureVerifier.SignatureVerification ASignatureVerification
returns data about a (positively or negatively) verified signature.IndexDiff.WorkingTreeIteratorFactory A factory to producing WorkingTreeIteratorsObjectIdSet Simple set of ObjectIds.ProgressMonitor A progress reporting interface.Ref Pairing of a name and theObjectId
it currently has.ReflogEntry Parsed reflog entryReflogReader Utility for reading reflog entriesRepositoryBuilderFactory A factory forBaseRepositoryBuilder
s.RepositoryCache.Key Abstract hash key forRepositoryCache
entries.TypedConfigGetter Something that knows how to convert plain strings from a gitConfig
to typed values. -
Class Summary Class Description AbbrevConfig Git configuration option core.abbrevAbbreviatedObjectId A prefix abbreviation of anObjectId
.AnyObjectId A (possibly mutable) SHA-1 abstraction.BaseRepositoryBuilder<B extends BaseRepositoryBuilder,R extends Repository> Base builder to customize repository construction.BatchingProgressMonitor ProgressMonitor that batches update events.BatchRefUpdate Batch of reference updates to be applied to a repository.BitmapObject Base object type accessed during bitmap expansion.BlobBasedConfig Configuration file based on the blobs stored in the repository.BranchConfig Branch section of a Git configuration file.BranchTrackingStatus Status of a branch's relation to its remote-tracking branch.CommitBuilder Mutable builder to construct a commit recording the state of a project.CommitConfig The standard "commit" configuration parameters.Config Git style.config
,.gitconfig
,.gitmodules
file.ConfigConstants Constants for use with the Configuration classes: section names, configuration keysConstants Misc.CoreConfig This class keeps git repository core parameters.DefaultTypedConfigGetter AnTypedConfigGetter
that throwsIllegalArgumentException
on invalid values.EmptyProgressMonitor A convenient base class which provides empty method bodies for all ProgressMonitor methods.FileMode Constants describing various file modes recognized by GIT.GitmoduleEntry A .gitmodules file found in the pack.GpgConfig Typed access to GPG related configuration options.GpgSignature A structure for holding GPG signature together with additional related data.GpgSignatureVerifierFactory AGpgSignatureVerifierFactory
createsGpgSignatureVerifier
instances.GpgSigner Creates GPG signatures for Git objects.IndexDiff Compares the index, a tree, and the working directory Ignored files are not taken into account.InflaterCache Creates zlib based inflaters as necessary for object decompression.MutableObjectId A mutable SHA-1 abstraction.NullProgressMonitor A NullProgressMonitor does not report progress anywhere.ObjectBuilder Common base class forCommitBuilder
andTagBuilder
.ObjectChecker Verifies that an object is formatted correctly.ObjectDatabase Abstraction of arbitrary object storage.ObjectId A SHA-1 abstraction.ObjectIdOwnerMap<V extends ObjectIdOwnerMap.Entry> Fast, efficient map forObjectId
subclasses in only one map.ObjectIdOwnerMap.Entry Type of entry stored in theObjectIdOwnerMap
.ObjectIdRef ObjectIdRef.PeeledNonTag A reference to a non-tag object coming from a cached source.ObjectIdRef.PeeledTag An annotated tag whose peeled object has been cached.ObjectIdRef.Unpeeled Any reference whose peeled value is not yet known.ObjectIdSerializer Helper to serializeObjectId
instances.ObjectIdSubclassMap<V extends ObjectId> Fast, efficient map specifically forObjectId
subclasses.ObjectInserter Inserts objects into an existingObjectDatabase
.ObjectInserter.Filter Wraps a delegate ObjectInserter.ObjectInserter.Formatter An inserter that can be used for formatting and id generation only.ObjectLoader Base class for a set of loaders for different representations of Git objects.ObjectLoader.Filter Wraps a delegate ObjectLoader.ObjectLoader.SmallObject Simple loader around the cached byte array.ObjectReader Reads anObjectDatabase
for a single thread.ObjectReader.Filter Wraps a delegate ObjectReader.ObjectStream Stream of data coming from an object loaded byObjectLoader
.ObjectStream.Filter Simple filter stream around another stream.ObjectStream.SmallStream Simple stream around the cached byte array created by a loader.PersonIdent A combination of a person identity and time in Git.RebaseTodoFile Offers methods to read and write files formatted like the git-rebase-todo fileRebaseTodoLine Describes a single line in a file formatted like the git-rebase-todo file.RefComparator Util for sorting (or comparing) Ref instances by name.RefDatabase Abstraction of name toObjectId
mapping.RefRename A RefUpdate combination for renaming a reference.RefUpdate Creates, updates or deletes any reference.RefWriter Writes out refs to theConstants.INFO_REFS
andConstants.PACKED_REFS
files.Repository Represents a Git repository.RepositoryBuilder Base class to support constructing aRepository
.RepositoryCache Cache of activeRepository
instances.RepositoryCache.FileKey Location of a Repository, using the standard java.io.File API.RepositoryCacheConfig Configuration parameters for JVM-wide repository cache used by JGit.StoredConfig Persistent configuration that can be stored and loaded from a location.SubmoduleConfig Submodule section of a Git configuration file.SymbolicRef A reference that indirectly points at anotherRef
.TagBuilder Mutable builder to construct an annotated tag recording a project state.TextProgressMonitor A simple progress reporter printing on a stream.ThreadSafeProgressMonitor Wrapper around the generalProgressMonitor
to make it thread safe.TreeFormatter Mutable formatter to construct a single tree object.UserConfig The standard "user" configuration parameters. -
Enum Summary Enum Description BranchConfig.BranchRebaseMode Config values for branch.[name].rebase (and pull.rebase).CommitConfig.CleanupMode How to clean up commit messages when committing.CoreConfig.AutoCRLF Permissible values forcore.autocrlf
.CoreConfig.CheckStat Permissible values forcore.checkstat
.CoreConfig.EOL Permissible values forcore.eol
.CoreConfig.EolStreamType EOL stream conversion protocol.CoreConfig.HideDotFiles Options for hiding files whose names start with a period.CoreConfig.LogRefUpdates Permissible values forcore.logAllRefUpdates
.CoreConfig.SymLinks Options for symlink handlingGpgConfig.GpgFormat Config values for gpg.format.GpgSignatureVerifier.TrustLevel The owner's trust in a public key.IndexDiff.StageState 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).ObjectChecker.ErrorType Potential issues identified by the checker.RebaseTodoLine.Action Describes rebase actionsRef.Storage Location where aRef
is stored.RefUpdate.Result Status of an update request.RepositoryState Important state of the repository that affects what can and cannot bed done.SubmoduleConfig.FetchRecurseSubmodulesMode Config values for submodule.[name].fetchRecurseSubmodules.