Uses of Class
org.eclipse.jgit.lib.ObjectId
Packages that use ObjectId
Package
Description
High-level API commands (the porcelain of JGit).
Exceptions thrown by API commands.
Computing blame/annotate information of files.
Comparing file contents by computing diffs.
Reading and editing the directory cache (index).
Exceptions thrown by lower-level JGit APIs.
Git fsck support.
Distributed file system based repository storage.
File based repository storage.
Reading/writing Git pack files.
Core API for repository, config, refs, object database.
Content and commit history merge algorithms.
Git notes processing (for commits, etc).
Building/rendering revision graphs.
Walking revision graphs (commit history).
Git submodule support.
Transport (fetch/push) for different protocols.
Walking and comparing directory/file trees (of commits, file system).
Utility classes.
-
Uses of ObjectId in org.eclipse.jgit.api
Subclasses of ObjectId in org.eclipse.jgit.apiFields in org.eclipse.jgit.api declared as ObjectIdModifier and TypeFieldDescriptionprivate ObjectId
MergeResult.base
private ObjectId[]
MergeResult.mergedCommits
private ObjectId
MergeResult.newHead
private ObjectId
BlameCommand.startCommit
private ObjectId
ArchiveCommand.tree
Fields in org.eclipse.jgit.api with type parameters of type ObjectIdModifier and TypeFieldDescriptionCommitCommand.parents
parents this commit should have.private Collection<ObjectId>
BlameCommand.reverseEndCommits
NameRevCommand.revs
Methods in org.eclipse.jgit.api that return ObjectIdModifier and TypeMethodDescriptionStashApplyCommand.call()
StashDropCommand.call()
MergeResult.getBase()
Get the common baseObjectId[]
MergeResult.getMergedCommits()
Get the commits which have been mergedMergeResult.getNewHead()
Get the object the head points at after the mergeprivate ObjectId
DescribeCommand.getObjectIdFromRef
(Ref r) private ObjectId
RebaseCommand.getOriginalHead()
private ObjectId
CheckoutCommand.getStartPointObjectId()
private ObjectId
CreateBranchCommand.getStartPointObjectId()
private ObjectId
StashApplyCommand.getStashId()
private ObjectId
private ObjectId
ResetCommand.resolveRefToCommitId()
Methods in org.eclipse.jgit.api that return types with arguments of type ObjectIdMethods in org.eclipse.jgit.api with parameters of type ObjectIdModifier and TypeMethodDescriptionAdd an object to search for.private void
ApplyCommand.applyBinary
(Repository repository, String path, File f, FileHeader fh, ApplyCommand.StreamSupplier loader, ObjectId id, DirCacheCheckout.CheckoutMetadata checkOut) private void
CommitCommand.checkIfEmpty
(RevWalk rw, ObjectId headId, ObjectId indexTreeId) private void
private void
ResetCommand.checkoutIndex
(ObjectId commitTree) private DirCache
CommitCommand.createTemporaryIndex
(ObjectId headId, DirCache index, RevWalk rw) private void
CommitCommand.insertChangeId
(ObjectId treeId) private String
DescribeCommand.longDescription
(Ref tag, int depth, ObjectId tip) private RevCommit
ResetCommand.parseCommit
(ObjectId commitId) private RevCommit
StashCreateCommand.parseCommit
(ObjectReader reader, ObjectId headId) void
ArchiveCommand.Format.putEntry
(T out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive.private void
ResetCommand.resetIndex
(ObjectId commitTree) private void
ResetCommand.resetIndexForPaths
(ObjectId commitTree) Sets the commit to be described.Set the tag, commit, or tree object to produce an archive forprivate void
MergeCommand.updateHead
(StringBuilder refLogMessage, ObjectId newHeadId, ObjectId oldHeadID) private void
CommitCommand.updateRef
(RepositoryState state, ObjectId headId, RevCommit revCommit, ObjectId commitId) private void
private void
RebaseCommand.updateStashRef
(ObjectId commitId, PersonIdent refLogIdent, String refLogMessage) private void
StashCreateCommand.updateStashRef
(ObjectId commitId, PersonIdent refLogIdent, String refLogMessage) private Ref
TagCommand.updateTagRef
(ObjectId tagId, RevWalk revWalk, String tagName, String newTagToString) Method parameters in org.eclipse.jgit.api with type arguments of type ObjectIdModifier and TypeMethodDescriptionAdd multiple objects to search for.private void
private void
NameRevCommand.addPrefixes
(Map<ObjectId, String> nonCommits, FIFORevQueue pending) private void
BlameCommand.reverse
(AnyObjectId start, Collection<ObjectId> end) Configure the generator to compute reverse blame (history of deletes).Constructors in org.eclipse.jgit.api with parameters of type ObjectIdModifierConstructorDescriptionMergeResult
(ObjectId newHead, ObjectId base, ObjectId[] mergedCommits, MergeResult.MergeStatus mergeStatus, MergeStrategy mergeStrategy, Map<String, MergeResult<?>> lowLevelResults) Constructor for MergeResult.MergeResult
(ObjectId newHead, ObjectId base, ObjectId[] mergedCommits, MergeResult.MergeStatus mergeStatus, MergeStrategy mergeStrategy, Map<String, MergeResult<?>> lowLevelResults, String description) Constructor for MergeResult.MergeResult
(ObjectId newHead, ObjectId base, ObjectId[] mergedCommits, MergeResult.MergeStatus mergeStatus, MergeStrategy mergeStrategy, Map<String, MergeResult<?>> lowLevelResults, Map<String, ResolveMerger.MergeFailureReason> failingPaths, String description) Constructor for MergeResult. -
Uses of ObjectId in org.eclipse.jgit.api.errors
Constructors in org.eclipse.jgit.api.errors with parameters of type ObjectIdModifierConstructorDescriptionWrongObjectTypeException
(ObjectId id, int type) Construct aWrongObjectTypeException
for the specified object id, giving the expected type. -
Uses of ObjectId in org.eclipse.jgit.archive
Methods in org.eclipse.jgit.archive with parameters of type ObjectIdModifier and TypeMethodDescriptionvoid
TarFormat.putEntry
(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive.void
Tbz2Format.putEntry
(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive.void
TgzFormat.putEntry
(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive.void
TxzFormat.putEntry
(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive.void
ZipFormat.putEntry
(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive. -
Uses of ObjectId in org.eclipse.jgit.blame
Subclasses of ObjectId in org.eclipse.jgit.blameFields in org.eclipse.jgit.blame declared as ObjectIdModifier and TypeFieldDescription(package private) ObjectId
Candidate.sourceBlob
Unique name of the candidate blob inCandidate.sourceCommit
.Methods in org.eclipse.jgit.blame with parameters of type ObjectIdMethod parameters in org.eclipse.jgit.blame with type arguments of type ObjectIdModifier and TypeMethodDescriptionBlameGenerator.reverse
(AnyObjectId start, Collection<? extends ObjectId> end) Configure the generator to compute reverse blame (history of deletes). -
Uses of ObjectId in org.eclipse.jgit.diff
Methods in org.eclipse.jgit.diff that return ObjectIdModifier and TypeMethodDescriptionPatchIdDiffFormatter.getCalulatedPatchId()
Should be called after having called one of the format methodsMethods in org.eclipse.jgit.diff with parameters of type ObjectIdModifier and TypeMethodDescriptionabstract ObjectLoader
Open the object.long
abstract long
Determine the size of the object.long
-
Uses of ObjectId in org.eclipse.jgit.dircache
Fields in org.eclipse.jgit.dircache declared as ObjectIdModifier and TypeFieldDescriptionprivate ObjectId
DirCacheCheckout.headCommitTree
private ObjectId
DirCacheTree.id
Unique SHA-1 of this tree; null if invalid.private ObjectId
DirCacheCheckout.mergeCommitTree
(package private) final ObjectId
DirCacheIterator.LazyLoadingAttributesNode.objectId
Methods in org.eclipse.jgit.dircache that return ObjectIdModifier and TypeMethodDescriptionDirCacheEntry.getObjectId()
Obtain the ObjectId for the entry.DirCacheTree.getObjectId()
Get the tree's ObjectId.DirCache.writeTree
(ObjectInserter ow) Write all index trees to the object store, returning the root tree.(package private) ObjectId
DirCacheTree.writeTree
(DirCacheEntry[] cache, int cIdx, int pathOffset, ObjectInserter ow) Write (if necessary) this tree to the object store.Methods in org.eclipse.jgit.dircache with parameters of type ObjectIdModifier and TypeMethodDescriptionprivate int
private boolean
DirCacheCheckout.equalIdAndMode
(ObjectId id1, FileMode mode1, ObjectId id2, FileMode mode2) Compares whether two pairs of ObjectId and FileMode are equal.private boolean
DirCacheCheckout.isModified_IndexTree
(String path, ObjectId iId, FileMode iMode, ObjectId tId, FileMode tMode, ObjectId rootTree) private boolean
DirCacheCheckout.isModifiedSubtree_IndexTree
(String path, ObjectId tree) Checks whether the subtree starting at a given path differs between Index and some tree.private void
Constructors in org.eclipse.jgit.dircache with parameters of type ObjectIdModifierConstructorDescriptionDirCacheCheckout
(Repository repo, DirCache dc, ObjectId mergeCommitTree) Constructs a DirCacheCeckout for checking out one tree, merging with the index.DirCacheCheckout
(Repository repo, DirCache dc, ObjectId mergeCommitTree, WorkingTreeIterator workingTree) Constructs a DirCacheCeckout for checking out one tree, merging with the index.DirCacheCheckout
(Repository repo, ObjectId headCommitTree, DirCache dc, ObjectId mergeCommitTree) Constructs a DirCacheCeckout for merging and checking out two trees (HEAD and mergeCommitTree) and the index.DirCacheCheckout
(Repository repo, ObjectId headCommitTree, DirCache dc, ObjectId mergeCommitTree, WorkingTreeIterator workingTree) Constructs a DirCacheCeckout for merging and checking out two trees (HEAD and mergeCommitTree) and the index.(package private)
LazyLoadingAttributesNode
(ObjectId objectId) -
Uses of ObjectId in org.eclipse.jgit.errors
Fields in org.eclipse.jgit.errors declared as ObjectIdModifier and TypeFieldDescriptionprivate final ObjectId
MissingObjectException.missing
private ObjectId
LargeObjectException.objectId
Fields in org.eclipse.jgit.errors with type parameters of type ObjectIdModifier and TypeFieldDescriptionprivate final Collection<ObjectId>
AmbiguousObjectException.candidates
Methods in org.eclipse.jgit.errors that return ObjectIdModifier and TypeMethodDescriptionLargeObjectException.getObjectId()
Get identity of the object that is too large; may be nullMissingObjectException.getObjectId()
Get the ObjectId that was not foundMethods in org.eclipse.jgit.errors that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionAmbiguousObjectException.getCandidates()
Get the matching candidates (or at least a subset of them)Method parameters in org.eclipse.jgit.errors with type arguments of type ObjectIdConstructors in org.eclipse.jgit.errors with parameters of type ObjectIdModifierConstructorDescriptionCorruptObjectException
(ObjectId id, String why) Construct a CorruptObjectException for reporting a problem specified object idIncorrectObjectTypeException
(ObjectId id, int type) Construct an IncorrectObjectTypeException for the specified object id.IncorrectObjectTypeException
(ObjectId id, String type) Construct an IncorrectObjectTypeException for the specified object id.MissingObjectException
(ObjectId id, int type) Construct a MissingObjectException for the specified object id.MissingObjectException
(ObjectId id, String type) Construct a MissingObjectException for the specified object id.Constructor parameters in org.eclipse.jgit.errors with type arguments of type ObjectIdModifierConstructorDescriptionAmbiguousObjectException
(AbbreviatedObjectId id, Collection<ObjectId> candidates) Construct a MissingObjectException for the specified object id.MissingBundlePrerequisiteException
(URIish uri, Map<ObjectId, String> missingCommits) Constructs a MissingBundlePrerequisiteException for a set of objects. -
Uses of ObjectId in org.eclipse.jgit.gitrepo
Methods in org.eclipse.jgit.gitrepo that return ObjectIdModifier and TypeMethodDescriptionRead a remote ref sha1.Methods in org.eclipse.jgit.gitrepo with parameters of type ObjectIdModifier and TypeMethodDescriptionprivate RevCommit
BareSuperprojectWriter.commitTreeOnCurrentTip
(ObjectInserter inserter, RevWalk rw, ObjectId treeId) -
Uses of ObjectId in org.eclipse.jgit.internal.fsck
Subclasses of ObjectId in org.eclipse.jgit.internal.fsckFields in org.eclipse.jgit.internal.fsck declared as ObjectIdFields in org.eclipse.jgit.internal.fsck with type parameters of type ObjectIdMethods in org.eclipse.jgit.internal.fsck that return ObjectIdMethods in org.eclipse.jgit.internal.fsck that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionFsckError.getMissingObjects()
Get missing objects that should present in pack filesConstructors in org.eclipse.jgit.internal.fsck with parameters of type ObjectIdModifierConstructorDescriptionCorruptObject
(ObjectId id, int type, ObjectChecker.ErrorType errorType) -
Uses of ObjectId in org.eclipse.jgit.internal.storage.dfs
Classes in org.eclipse.jgit.internal.storage.dfs with type parameters of type ObjectIdSubclasses of ObjectId in org.eclipse.jgit.internal.storage.dfsModifier and TypeClassDescription(package private) class
private static class
Fields in org.eclipse.jgit.internal.storage.dfs declared as ObjectIdModifier and TypeFieldDescription(package private) ObjectId
DfsObjectRepresentation.baseId
private final ObjectId
DfsInserter.StreamLoader.id
(package private) final T
DfsReader.FoundObject.id
Fields in org.eclipse.jgit.internal.storage.dfs with type parameters of type ObjectIdModifier and TypeFieldDescriptionDfsGarbageCollector.allHeadsAndTags
DfsGarbageCollector.allTags
DfsGarbageCollector.nonHeads
DfsGarbageCollector.tagTargets
Methods in org.eclipse.jgit.internal.storage.dfs with type parameters of type ObjectIdModifier and TypeMethodDescriptionprivate <T extends ObjectId>
Iterable<DfsReader.FoundObject<T>>private <T extends ObjectId>
voidDfsReader.findAllImpl
(DfsObjDatabase.PackList packList, Collection<T> pending, List<DfsReader.FoundObject<T>> r) <T extends ObjectId>
AsyncObjectSizeQueue<T>DfsReader.getObjectSize
(Iterable<T> objectIds, boolean reportMissing) Asynchronous object size lookup.<T extends ObjectId>
AsyncObjectLoaderQueue<T>Asynchronous object opening.Methods in org.eclipse.jgit.internal.storage.dfs that return ObjectIdModifier and TypeMethodDescriptionprivate ObjectId
DfsObjectRepresentation.getDeltaBase()
Get identity of the object this delta applies to in order to recover the original object content.DfsInserter.insert
(int type, byte[] data, int off, int len) Insert a single object into the store, returning its unique name.DfsInserter.insert
(int type, long len, InputStream in) Insert a single object into the store, returning its unique name.Methods in org.eclipse.jgit.internal.storage.dfs that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionDfsInserter.Reader.getShallowCommits()
DfsReader.getShallowCommits()
Returns IDs for those commits which should be considered as shallow.DfsInserter.Reader.resolve
(AbbreviatedObjectId id) DfsReader.resolve
(AbbreviatedObjectId id) Resolve an abbreviated ObjectId to its full form.Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type ObjectIdModifier and TypeMethodDescriptionprivate ObjectId
private long
DfsPackFile.findDeltaBase
(DfsReader ctx, ObjectId baseId) DfsReftableDatabase.getTipsWithSha1
(ObjectId id) Returns all refs that resolve directly to the givenObjectId
.Method parameters in org.eclipse.jgit.internal.storage.dfs with type arguments of type ObjectIdModifier and TypeMethodDescription(package private) void
DfsPackFile.resolve
(DfsReader ctx, Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit) private void
DfsReader.resolveImpl
(DfsObjDatabase.PackList packList, AbbreviatedObjectId id, HashSet<ObjectId> matches) Constructors in org.eclipse.jgit.internal.storage.dfs with parameters of type ObjectIdModifierConstructorDescription(package private)
StreamLoader
(ObjectId id, int type, long sz, DfsStreamKey key, long pos) -
Uses of ObjectId in org.eclipse.jgit.internal.storage.file
Subclasses of ObjectId in org.eclipse.jgit.internal.storage.fileModifier and TypeClassDescription(package private) static final class
Data representation of the bitmap entry restored from a pack index.private static final class
private static class
(package private) static class
(package private) class
private static final class
static final class
An entry in the old PackBitmapIndex.Fields in org.eclipse.jgit.internal.storage.file declared as ObjectIdModifier and TypeFieldDescriptionprivate ObjectId
LocalObjectRepresentation.baseId
private final ObjectId
RefDirectory.PackedRefList.id
private final ObjectId
UnpackedObject.LargeObject.id
private static final ObjectId
PackFileSnapshot.MISSING_CHECKSUM
private ObjectId
ReflogEntryImpl.newId
private ObjectId
BitmapIndexImpl.BitmapObjectImpl.objectId
private ObjectId
RefDirectoryRename.objId
The value of the source reference at the start of the rename.private ObjectId
ReflogEntryImpl.oldId
Fields in org.eclipse.jgit.internal.storage.file with type parameters of type ObjectIdModifier and TypeFieldDescriptionprivate final AtomicReferenceArray<ObjectId>
UnpackedObjectCache.Table.ids
ObjectDirectory.shallowCommitsIds
Methods in org.eclipse.jgit.internal.storage.file that return ObjectIdModifier and TypeMethodDescriptionprivate ObjectId
PackInserter.computeName
(List<PackedObjectInfo> list) private ObjectId
PackReverseIndex.findObject
(long offset) Search for object id with the specified start offset in this pack (reverse) index.(package private) ObjectId
PackReverseIndex.findObjectByPosition
(int nthPosition) (package private) ObjectId
Pack.findObjectForOffset
(long offset) Search for object id with the specified start offset in associated pack (reverse) index.LocalObjectRepresentation.getDeltaBase()
Get identity of the object this delta applies to in order to recover the original object content.ReflogEntryImpl.getNewId()
Get the commit id after the changeabstract ObjectId
PackBitmapIndex.getObject
(int position) Get the object at the bitmap position.PackBitmapIndexBuilder.getObject
(int position) Get the object at the bitmap position.PackBitmapIndexRemapper.getObject
(int position) Get the object at the bitmap position.PackBitmapIndexV1.getObject
(int position) Get the object at the bitmap position.BitmapIndexImpl.BitmapObjectImpl.getObjectId()
private ObjectId
LargePackedWholeObject.getObjectId()
final ObjectId
PackIndex.getObjectId
(int nthPosition) Get ObjectId for the n-th object entry returned byPackIndex.iterator()
.abstract ObjectId
PackIndex.getObjectId
(long nthPosition) Get ObjectId for the n-th object entry returned byPackIndex.iterator()
.PackIndexV1.getObjectId
(long nthPosition) Get ObjectId for the n-th object entry returned byPackIndex.iterator()
.PackIndexV2.getObjectId
(long nthPosition) Get ObjectId for the n-th object entry returned byPackIndex.iterator()
.RefDirectory.LooseUnpeeled.getObjectId()
ReflogEntryImpl.getOldId()
Get the commit id before the changeObjectDirectoryInserter.insert
(int type, byte[] data, int off, int len) Insert a single object into the store, returning its unique name.private ObjectId
ObjectDirectoryInserter.insert
(int type, byte[] data, int off, int len, boolean createDuplicate) Insert a loose object into the database.ObjectDirectoryInserter.insert
(int type, long len, InputStream is) Insert a single object into the store, returning its unique name.(package private) ObjectId
ObjectDirectoryInserter.insert
(int type, long len, InputStream is, boolean createDuplicate) Insert a loose object into the database.PackInserter.insert
(int type, byte[] data, int off, int len) Insert a single object into the store, returning its unique name.PackInserter.insert
(int type, long len, InputStream in) Insert a single object into the store, returning its unique name.private ObjectId
ObjectDirectoryInserter.insertOneObject
(File tmp, ObjectId id, boolean createDuplicate) PackIndex.MutableEntry.toObjectId()
Methods in org.eclipse.jgit.internal.storage.file that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionFileRepository.getAdditionalHaves()
Objects known to exist but not expressed byRepository.getAllRefs()
.FileRepository.getAdditionalHaves
(Set<ObjectDirectory.AlternateHandle.Id> skips) Objects known to exist but not expressed by#getAllRefs()
.CachedObjectDirectory.getShallowCommits()
FileObjectDatabase.getShallowCommits()
ObjectDirectory.getShallowCommits()
PackInserter.Reader.getShallowCommits()
WindowCursor.getShallowCommits()
Returns IDs for those commits which should be considered as shallow.Return a list of those objects in the index which differ from whats in HEADGC.listRefLogObjects
(Ref ref, long minTime) PackInserter.Reader.resolve
(AbbreviatedObjectId id) WindowCursor.resolve
(AbbreviatedObjectId id) Resolve an abbreviated ObjectId to its full form.Methods in org.eclipse.jgit.internal.storage.file with parameters of type ObjectIdModifier and TypeMethodDescriptionprivate byte[]
ReflogWriter.encode
(ObjectId oldId, ObjectId newId, PersonIdent ident, String message) private ObjectId
private long
Pack.findDeltaBase
(ObjectId baseId) (package private) static InputStream
UnpackedObject.inflate
(InputStream in, long size, ObjectId id) (package private) FileObjectDatabase.InsertLooseObjectResult
private ObjectId
ObjectDirectoryInserter.insertOneObject
(File tmp, ObjectId id, boolean createDuplicate) (package private) FileObjectDatabase.InsertLooseObjectResult
CachedObjectDirectory.insertUnpackedObject
(File tmp, ObjectId objectId, boolean createDuplicate) (package private) abstract FileObjectDatabase.InsertLooseObjectResult
FileObjectDatabase.insertUnpackedObject
(File tmp, ObjectId id, boolean createDuplicate) (package private) FileObjectDatabase.InsertLooseObjectResult
ObjectDirectory.insertUnpackedObject
(File tmp, ObjectId id, boolean createDuplicate) Write the given entry information to the ref's log(package private) static LocalObjectRepresentation
void
Write an ObjectId and LF to the temporary file.Method parameters in org.eclipse.jgit.internal.storage.file with type arguments of type ObjectIdModifier and TypeMethodDescriptionprivate void
GC.loosen
(ObjectDirectoryInserter inserter, ObjectReader reader, Pack pack, HashSet<ObjectId> existing) Loosen objects in a pack file which are not also in the newly-created pack files.void
Like "git prune" this method tries to prune all loose objects which are unreferenced.private void
GC.removeReferenced
(Map<ObjectId, File> id2File, ObjectWalk w) Remove all entries from a map which key is the id of an object referenced by the given ObjectWalk(package private) void
CachedObjectDirectory.resolve
(Set<ObjectId> matches, AbbreviatedObjectId id) (package private) abstract void
FileObjectDatabase.resolve
(Set<ObjectId> matches, AbbreviatedObjectId id) (package private) boolean
LooseObjects.resolve
(Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit) Find objects matching the prefix abbreviation.(package private) void
ObjectDirectory.resolve
(Set<ObjectId> matches, AbbreviatedObjectId id) private void
ObjectDirectory.resolve
(Set<ObjectId> matches, AbbreviatedObjectId id, Set<ObjectDirectory.AlternateHandle.Id> skips) (package private) void
Pack.resolve
(Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit) (package private) boolean
PackDirectory.resolve
(Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit) Find objects matching the prefix abbreviation.abstract void
PackIndex.resolve
(Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit) Find objects matching the prefix abbreviation.void
PackIndexV1.resolve
(Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit) Find objects matching the prefix abbreviation.void
PackIndexV2.resolve
(Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit) Find objects matching the prefix abbreviation.private Pack
GC.writePack
(Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<ObjectId> tags, Set<ObjectId> tagTargets, List<ObjectIdSet> excludeObjects) Constructors in org.eclipse.jgit.internal.storage.file with parameters of type ObjectIdModifierConstructorDescription(package private)
LooseNonTag
(FileSnapshot snapshot, String refName, ObjectId id) (package private)
LoosePeeledTag
(FileSnapshot snapshot, String refName, ObjectId id, ObjectId p) (package private)
LooseUnpeeled
(FileSnapshot snapShot, String refName, ObjectId id) private
PackedRefList
(RefList<Ref> src, FileSnapshot s, ObjectId i) Create a PackFile for a pack or related file. -
Uses of ObjectId in org.eclipse.jgit.internal.storage.pack
Subclasses of ObjectId in org.eclipse.jgit.internal.storage.packModifier and TypeClassDescriptionprivate static class
final class
A commit object for which a bitmap index should be built.class
Per-object state used byPackWriter
.Fields in org.eclipse.jgit.internal.storage.pack declared as ObjectIdModifier and TypeFieldDescriptionprivate final ObjectId[]
BaseSearch.baseTrees
private ObjectId
ObjectToPack.deltaBase
Other object being packed that this will delta against.Fields in org.eclipse.jgit.internal.storage.pack with type parameters of type ObjectIdModifier and TypeFieldDescriptionPackWriter.excludeFromBitmapSelection
PackWriter.DepthAwareVisitationPolicy.lowestDepthVisited
PackWriterBitmapPreparer.CommitSelectionHelper.newWants
PackWriter.NONE
Empty set of objects forpreparePack()
.PackWriter.tagTargets
private Collection<? extends ObjectId>
PackWriter.unshallowObjects
PackWriterBitmapPreparer.want
Methods in org.eclipse.jgit.internal.storage.pack that return ObjectIdModifier and TypeMethodDescriptionPackWriter.computeName()
Computes SHA-1 of lexicographically sorted objects ids written in this pack, as used to name a pack file in repository.StoredObjectRepresentation.getDeltaBase()
Get identity of the object this delta applies to in order to recover the original object content.final ObjectId
ObjectToPack.getDeltaBaseId()
Get delta base object id if object is going to be packed in delta representationMethods in org.eclipse.jgit.internal.storage.pack with parameters of type ObjectIdModifier and TypeMethodDescription(package private) final void
ObjectToPack.setDeltaBase
(ObjectId deltaBase) Set delta base for the object.Method parameters in org.eclipse.jgit.internal.storage.pack with type arguments of type ObjectIdModifier and TypeMethodDescriptionPackWriterBitmapPreparer.captureOldAndNewCommits
(RevWalk rw, int expectedCommitCount, Set<? extends ObjectId> excludeFromBitmapSelection) Records which of thewants
can be found in the previous GC pack's bitmap indices and which are new.private void
PackWriter.findObjectsToPack
(ProgressMonitor countingMonitor, ObjectWalk walker, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> noBitmaps) private void
PackWriter.findObjectsToPackUsingBitmaps
(BitmapWalker bitmapWalker, Set<? extends ObjectId> want, Set<? extends ObjectId> have) void
PackWriter.preparePack
(ProgressMonitor countingMonitor, Set<? extends ObjectId> want, Set<? extends ObjectId> have) Prepare the list of objects to be written to the pack stream.void
PackWriter.preparePack
(ProgressMonitor countingMonitor, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> shallow) Prepare the list of objects to be written to the pack stream.void
PackWriter.preparePack
(ProgressMonitor countingMonitor, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> shallow, Set<? extends ObjectId> noBitmaps) Prepare the list of objects to be written to the pack stream.void
PackWriter.preparePack
(ProgressMonitor countingMonitor, ObjectWalk walk, Set<? extends ObjectId> interestingObjects, Set<? extends ObjectId> uninterestingObjects, Set<? extends ObjectId> noBitmaps) Prepare the list of objects to be written to the pack stream.(package private) Collection<BitmapCommit>
PackWriterBitmapPreparer.selectCommits
(int expectedCommitCount, Set<? extends ObjectId> excludeFromBitmapSelection) Returns the commit objects for which bitmap indices should be built.void
PackWriter.setClientShallowCommits
(Set<ObjectId> clientShallowCommits) Records the set of shallow commits in the client.void
PackWriter.setShallowPack
(int depth, Collection<? extends ObjectId> unshallow) Configure this pack for a shallow clone.void
PackWriter.setTagTargets
(Set<ObjectId> objects) Set the tag targets that should be hoisted earlier during packing.Constructor parameters in org.eclipse.jgit.internal.storage.pack with type arguments of type ObjectIdModifierConstructorDescription(package private)
CommitSelectionHelper
(Set<? extends ObjectId> newWants, RevCommit[] commitsByOldest, int commitStartPos, List<RevCommit> newWantsByNewest, BitmapIndex.BitmapBuilder reusedCommitsBitmap, List<BitmapCommit> reuse) (package private)
PackWriterBitmapPreparer
(ObjectReader reader, PackBitmapIndexBuilder writeBitmaps, ProgressMonitor pm, Set<? extends ObjectId> want, PackConfig config) -
Uses of ObjectId in org.eclipse.jgit.internal.storage.reftable
Subclasses of ObjectId in org.eclipse.jgit.internal.storage.reftableFields in org.eclipse.jgit.internal.storage.reftable declared as ObjectIdModifier and TypeFieldDescriptionprivate final ObjectId
ReftableReader.ObjCursorImpl.match
(package private) final ObjectId
BlockWriter.LogEntry.newId
(package private) final ObjectId
BlockWriter.LogEntry.oldId
Methods in org.eclipse.jgit.internal.storage.reftable that return ObjectIdModifier and TypeMethodDescriptionprivate ObjectId
BlockReader.readValueId()
private static ObjectId
Methods in org.eclipse.jgit.internal.storage.reftable with parameters of type ObjectIdModifier and TypeMethodDescriptionReftableDatabase.getTipsWithSha1
(ObjectId id) Returns all refs that resolve directly to the givenObjectId
.private void
private static byte[]
(package private) void
void
ReftableWriter.writeLog
(String ref, long updateIndex, PersonIdent who, ObjectId oldId, ObjectId newId, String message) Write one reflog entry to the reftable.Constructors in org.eclipse.jgit.internal.storage.reftable with parameters of type ObjectId -
Uses of ObjectId in org.eclipse.jgit.internal.transport.connectivity
Fields in org.eclipse.jgit.internal.transport.connectivity with type parameters of type ObjectIdMethods in org.eclipse.jgit.internal.transport.connectivity that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionIterativeConnectivityChecker.extractAdvertisedParentCommits
(Set<ObjectId> newRefs, Set<ObjectId> advertisedHaves, RevWalk rw) IterativeConnectivityChecker.getAllObjectIds
(List<ReceiveCommand> commands) Method parameters in org.eclipse.jgit.internal.transport.connectivity with type arguments of type ObjectIdModifier and TypeMethodDescriptionvoid
FullConnectivityChecker.checkConnectivity
(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, Set<ObjectId> haves, ProgressMonitor pm) void
IterativeConnectivityChecker.checkConnectivity
(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, Set<ObjectId> advertisedHaves, ProgressMonitor pm) IterativeConnectivityChecker.extractAdvertisedParentCommits
(Set<ObjectId> newRefs, Set<ObjectId> advertisedHaves, RevWalk rw) private boolean
FullConnectivityChecker.markStartAndKnownNodes
(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, ObjectWalk ow, Set<ObjectId> haves, ProgressMonitor pm) void
IterativeConnectivityChecker.setForcedHaves
(Set<ObjectId> forcedHaves) Sets additional haves that client can depend on (e.g. -
Uses of ObjectId in org.eclipse.jgit.lib
Classes in org.eclipse.jgit.lib with type parameters of type ObjectIdModifier and TypeInterfaceDescriptioninterface
AsyncObjectLoaderQueue<T extends ObjectId>
Queue to open objects asynchronously.interface
AsyncObjectSizeQueue<T extends ObjectId>
Queue to examine object sizes asynchronously.class
ObjectIdSubclassMap<V extends ObjectId>
Fast, efficient map specifically forObjectId
subclasses.Subclasses of ObjectId in org.eclipse.jgit.libFields in org.eclipse.jgit.lib declared as ObjectIdModifier and TypeFieldDescriptionstatic final ObjectId
Constants.EMPTY_BLOB_ID
Well-known object ID for the empty blob.private static final ObjectId[]
CommitBuilder.EMPTY_OBJECTID_LIST
static final ObjectId
Constants.EMPTY_TREE_ID
Well-known object ID for the empty tree.private ObjectId
RefUpdate.expValue
If non-null, the valueRefUpdate.oldValue
must have to continue.private ObjectId
RefUpdate.newValue
New value the caller wants this ref to have.private ObjectId
TagBuilder.object
private final ObjectId
ObjectIdRef.objectId
private ObjectId
RefUpdate.oldValue
Old value of the ref, obtained after we lock it.private ObjectId[]
CommitBuilder.parentIds
private final ObjectId
ObjectIdRef.PeeledTag.peeledObjectId
(package private) V[]
ObjectIdSubclassMap.table
private ObjectId
CommitBuilder.treeId
private static final ObjectId
ObjectId.ZEROID
Methods in org.eclipse.jgit.lib with type parameters of type ObjectIdModifier and TypeMethodDescription<T extends ObjectId>
AsyncObjectSizeQueue<T>ObjectReader.Filter.getObjectSize
(Iterable<T> objectIds, boolean reportMissing) <T extends ObjectId>
AsyncObjectSizeQueue<T>ObjectReader.getObjectSize
(Iterable<T> objectIds, boolean reportMissing) Asynchronous object size lookup.<T extends ObjectId>
AsyncObjectLoaderQueue<T><T extends ObjectId>
AsyncObjectLoaderQueue<T>Asynchronous object opening.Methods in org.eclipse.jgit.lib that return ObjectIdModifier and TypeMethodDescriptionTreeFormatter.computeId
(ObjectInserter ins) Compute the ObjectId for this treefinal ObjectId
AnyObjectId.copy()
Obtain an immutable copy of this current object name value.private final V[]
ObjectIdSubclassMap.createArray
(int sz) private static final ObjectId
ObjectId.fromHexString
(byte[] bs, int p) static final ObjectId
ObjectId.fromRaw
(byte[] bs) Convert an ObjectId from raw binary representation.static final ObjectId
ObjectId.fromRaw
(byte[] bs, int p) Convert an ObjectId from raw binary representation.static final ObjectId
ObjectId.fromRaw
(int[] is) Convert an ObjectId from raw binary representation.static final ObjectId
ObjectId.fromRaw
(int[] is, int p) Convert an ObjectId from raw binary representation.static final ObjectId
ObjectId.fromString
(byte[] buf, int offset) Convert an ObjectId from hex characters (US-ASCII).static ObjectId
ObjectId.fromString
(String str) Convert an ObjectId from hex characters.RefUpdate.getExpectedOldObjectId()
Get the expected value of the ref after the lock is taken, but before update occurs.ReflogEntry.getNewId()
Get the commit id after the changeRefUpdate.getNewObjectId()
Get the new value the ref will be (or was) updated to.AsyncObjectLoaderQueue.getObjectId()
Get the ObjectId of the current object.AsyncObjectSizeQueue.getObjectId()
Get the ObjectId of the current object.abstract ObjectId
BitmapObject.getObjectId()
Get the name of this object.ObjectIdRef.getObjectId()
Cached value of this ref.Ref.getObjectId()
Cached value of this ref.SymbolicRef.getObjectId()
Cached value of this ref.TagBuilder.getObjectId()
Get the object this tag refers to.ReflogEntry.getOldId()
Get the commit id before the changeRefUpdate.getOldObjectId()
The old value of the ref, prior to the update being attempted.ObjectId[]
CommitBuilder.getParentIds()
Get the ancestors of this commit.ObjectIdRef.PeeledNonTag.getPeeledObjectId()
ObjectIdRef.PeeledTag.getPeeledObjectId()
ObjectIdRef.Unpeeled.getPeeledObjectId()
Ref.getPeeledObjectId()
Cached value ofref^{}
(the ref peeled to commit).SymbolicRef.getPeeledObjectId()
Cached value ofref^{}
(the ref peeled to commit).CommitBuilder.getTreeId()
Get id of the root tree listing this commit's snapshot.private ObjectId
ObjectChecker.idFor
(int objType, byte[] raw) ObjectInserter.Filter.idFor
(int type, byte[] data) ObjectInserter.Filter.idFor
(int type, byte[] data, int off, int len) ObjectInserter.Filter.idFor
(int objectType, long length, InputStream in) ObjectInserter.Filter.idFor
(TreeFormatter formatter) ObjectInserter.idFor
(int type, byte[] data) Compute the name of an object, without inserting it.ObjectInserter.idFor
(int type, byte[] data, int off, int len) Compute the name of an object, without inserting it.ObjectInserter.idFor
(int objectType, long length, InputStream in) Compute the name of an object, without inserting it.ObjectInserter.idFor
(TreeFormatter formatter) Compute the ObjectId for the given tree without inserting it.ObjectInserter.Filter.insert
(int type, byte[] data) ObjectInserter.Filter.insert
(int type, byte[] data, int off, int len) ObjectInserter.Filter.insert
(int objectType, long length, InputStream in) ObjectInserter.Formatter.insert
(int objectType, long length, InputStream in) ObjectInserter.insert
(int type, byte[] data) Insert a single object into the store, returning its unique name.ObjectInserter.insert
(int type, byte[] data, int off, int len) Insert a single object into the store, returning its unique name.abstract ObjectId
ObjectInserter.insert
(int objectType, long length, InputStream in) Insert a single object into the store, returning its unique name.final ObjectId
ObjectInserter.insert
(CommitBuilder builder) Insert a single commit into the store, returning its unique name.final ObjectId
ObjectInserter.insert
(TagBuilder builder) Insert a single annotated tag into the store, returning its unique name.final ObjectId
ObjectInserter.insert
(TreeFormatter formatter) Insert a single tree into the store, returning its unique name.TreeFormatter.insertTo
(ObjectInserter ins) Insert this tree and obtain its ObjectId.static ObjectId
ObjectIdSerializer.read
(InputStream in) Read a possibly nullObjectId
from the stream.Repository.readCherryPickHead()
Return the information stored in the file $GIT_DIR/CHERRY_PICK_HEAD.Repository.readOrigHead()
Return the information stored in the file $GIT_DIR/ORIG_HEAD.Repository.readRevertHead()
Return the information stored in the file $GIT_DIR/REVERT_HEAD.static ObjectId
ObjectIdSerializer.readWithoutMarker
(InputStream in) Read a non-nullObjectId
from the stream.Parse a git revision string and return an object id.private ObjectId
Repository.resolveAbbreviation
(String revstr) private ObjectId
Repository.resolveSimple
(String revstr) AbbreviatedObjectId.toObjectId()
A complete ObjectId; null ifAbbreviatedObjectId.isComplete()
is falseabstract ObjectId
AnyObjectId.toObjectId()
Obtain an immutable copy of this current object name value.MutableObjectId.toObjectId()
Obtain an immutable copy of this current object name value.ObjectId.toObjectId()
Obtain an immutable copy of this current object name value.static final ObjectId
ObjectId.zeroId()
Get the special all-null ObjectId.Methods in org.eclipse.jgit.lib that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionRepository.getAdditionalHaves()
Objects known to exist but not expressed byRepository.getAllRefs()
.ObjectReader.Filter.getShallowCommits()
ObjectReader.getShallowCommits()
Returns IDs for those commits which should be considered as shallow.Repository.readMergeHeads()
Return the information stored in the file $GIT_DIR/MERGE_HEAD.ObjectReader.Filter.resolve
(AbbreviatedObjectId id) abstract Collection<ObjectId>
ObjectReader.resolve
(AbbreviatedObjectId id) Resolve an abbreviated ObjectId to its full form.Methods in org.eclipse.jgit.lib with parameters of type ObjectIdModifier and TypeMethodDescriptionRefDatabase.getTipsWithSha1
(ObjectId id) Returns all refs that resolve directly to the givenObjectId
.private static boolean
protected void
RefUpdate.setOldObjectId
(ObjectId old) Set the old value of the ref.void
CommitBuilder.setParentIds
(ObjectId... newParents) Set the parents of this commit.static final String
Convert an ObjectId into a hex string representation.void
Repository.writeCherryPickHead
(ObjectId head) Write cherry pick commit into $GIT_DIR/CHERRY_PICK_HEAD.void
Repository.writeOrigHead
(ObjectId head) Write original HEAD commit into $GIT_DIR/ORIG_HEAD.void
Repository.writeRevertHead
(ObjectId head) Write revert commit into $GIT_DIR/REVERT_HEAD.Method parameters in org.eclipse.jgit.lib with type arguments of type ObjectIdModifier and TypeMethodDescriptionprivate void
Repository.writeHeadsFile
(List<? extends ObjectId> heads, String filename) Write the given heads to a file in the git directory.void
Repository.writeMergeHeads
(List<? extends ObjectId> heads) Write new merge-heads into $GIT_DIR/MERGE_HEAD.Constructors in org.eclipse.jgit.lib with parameters of type ObjectIdModifierConstructorDescriptionIndexDiff
(Repository repository, ObjectId objectId, WorkingTreeIterator workingTreeIterator) Construct an Indexdiffprotected
ObjectIdRef
(Ref.Storage st, String name, ObjectId id, long updateIndex) Create a new ref pairing.PeeledNonTag
(Ref.Storage st, String name, ObjectId id) Create a new ref pairing.PeeledNonTag
(Ref.Storage st, String name, ObjectId id, long updateIndex) Create a new ref pairing with update index.PeeledTag
(Ref.Storage st, String name, ObjectId id, ObjectId p) Create a new ref pairing.PeeledTag
(Ref.Storage st, String name, ObjectId id, ObjectId p, long updateIndex) Create a new ref pairing with update index.Unpeeled
(Ref.Storage st, String name, ObjectId id) Create a new ref pairing.Unpeeled
(Ref.Storage st, String name, ObjectId id, long updateIndex) Create a new ref pairing with update index. -
Uses of ObjectId in org.eclipse.jgit.merge
Fields in org.eclipse.jgit.merge declared as ObjectIdModifier and TypeFieldDescriptionprivate ObjectId
ThreeWayMerger.baseCommitId
protected ObjectId
ResolveMerger.resultTree
merge result as treeprivate ObjectId
StrategySimpleTwoWayInCore.InCoreMerger.resultTree
Methods in org.eclipse.jgit.merge that return ObjectIdModifier and TypeMethodDescriptionabstract ObjectId
Merger.getBaseCommitId()
Get the ID of the commit that was used as merge base for mergingStrategyOneSided.OneSide.getBaseCommitId()
ThreeWayMerger.getBaseCommitId()
Get the ID of the commit that was used as merge base for mergingabstract ObjectId
Merger.getResultTreeId()
Get resulting tree.ResolveMerger.getResultTreeId()
Get resulting tree.StrategyOneSided.OneSide.getResultTreeId()
StrategySimpleTwoWayInCore.InCoreMerger.getResultTreeId()
private ObjectId
ResolveMerger.insertMergeResult
(TemporaryBuffer buf, Attributes attributes) Methods in org.eclipse.jgit.merge with parameters of type ObjectIdModifier and TypeMethodDescriptionprivate RevCommit
RecursiveMerger.createCommitForTree
(ObjectId tree, List<RevCommit> parents) Create a new commit by explicitly specifying the content tree and the parents.private RawText
ResolveMerger.getRawText
(ObjectId id, Attributes attributes) -
Uses of ObjectId in org.eclipse.jgit.notes
Subclasses of ObjectId in org.eclipse.jgit.notesModifier and TypeClassDescription(package private) class
A tree entry found in a note branch that isn't a valid note.class
In-memory representation of a single note attached to one object.Fields in org.eclipse.jgit.notes declared as ObjectIdModifier and TypeFieldDescriptionprivate ObjectId
Note.data
private final ObjectId
FanoutBucket.LazyNoteBucket.treeId
Methods in org.eclipse.jgit.notes that return ObjectIdModifier and TypeMethodDescriptionNoteMap.get
(AnyObjectId id) Lookup a note for a specific ObjectId.Note.getData()
Get the note content.(package private) ObjectId
FanoutBucket.getTreeId()
(package private) ObjectId
FanoutBucket.LazyNoteBucket.getTreeId()
(package private) ObjectId
LeafBucket.getTreeId()
(package private) abstract ObjectId
NoteBucket.getTreeId()
private ObjectId
NoteMapMerger.write
(NonNoteEntry list) (package private) ObjectId
FanoutBucket.LazyNoteBucket.writeTree
(ObjectInserter inserter) (package private) ObjectId
FanoutBucket.writeTree
(ObjectInserter inserter) (package private) ObjectId
LeafBucket.writeTree
(ObjectInserter inserter) (package private) abstract ObjectId
NoteBucket.writeTree
(ObjectInserter inserter) NoteMap.writeTree
(ObjectInserter inserter) Write this note map as a tree.Methods in org.eclipse.jgit.notes with parameters of type ObjectIdModifier and TypeMethodDescriptionprivate void
(package private) static InMemoryNoteBucket
NoteParser.parse
(AbbreviatedObjectId prefix, ObjectId treeId, ObjectReader reader) Parse a tree object into aNoteBucket
instance.static NoteMap
NoteMap.readTree
(ObjectReader reader, ObjectId treeId) Load a collection of notes from a tree.void
NoteMap.set
(AnyObjectId noteOn, ObjectId noteData) Attach (or remove) a note on an object.(package private) void
(package private) void
Constructors in org.eclipse.jgit.notes with parameters of type ObjectIdModifierConstructorDescription(package private)
LazyNoteBucket
(ObjectId treeId) Note
(AnyObjectId noteOn, ObjectId noteData) A Git note about the object referenced bynoteOn
.private
NoteParser
(AbbreviatedObjectId prefix, ObjectReader r, ObjectId t) -
Uses of ObjectId in org.eclipse.jgit.pgm
Fields in org.eclipse.jgit.pgm declared as ObjectIdModifier and TypeFieldDescriptionprivate ObjectId
Tag.object
private ObjectId
Archive.tree
private ObjectId
Describe.tree
Fields in org.eclipse.jgit.pgm with type parameters of type ObjectIdMethods in org.eclipse.jgit.pgm that return ObjectIdMethods in org.eclipse.jgit.pgm with parameters of type ObjectIdModifier and TypeMethodDescriptionprivate static String
AbstractFetchCommand.safeAbbreviate
(ObjectReader reader, ObjectId id) private static String
Push.safeAbbreviate
(ObjectReader reader, ObjectId id) -
Uses of ObjectId in org.eclipse.jgit.pgm.debug
Fields in org.eclipse.jgit.pgm.debug declared as ObjectIdModifier and TypeFieldDescription(package private) ObjectId
RebuildCommitGraph.ToRewrite.newId
(package private) final ObjectId
WriteReftable.LogEntry.newId
private ObjectId
ShowPackDelta.objectId
(package private) final ObjectId
RebuildCommitGraph.ToRewrite.oldId
(package private) final ObjectId
WriteReftable.LogEntry.oldId
(package private) final ObjectId[]
RebuildCommitGraph.ToRewrite.oldParents
Fields in org.eclipse.jgit.pgm.debug with type parameters of type ObjectIdMethods in org.eclipse.jgit.pgm.debug that return ObjectIdMethods in org.eclipse.jgit.pgm.debug that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionMethods in org.eclipse.jgit.pgm.debug with parameters of type ObjectIdConstructors in org.eclipse.jgit.pgm.debug with parameters of type ObjectId -
Uses of ObjectId in org.eclipse.jgit.pgm.opt
Constructor parameters in org.eclipse.jgit.pgm.opt with type arguments of type ObjectIdModifierConstructorDescriptionObjectIdHandler
(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<? super ObjectId> setter) Create a new handler for the command name. -
Uses of ObjectId in org.eclipse.jgit.revplot
Subclasses of ObjectId in org.eclipse.jgit.revplotModifier and TypeClassDescriptionclass
PlotCommit<L extends PlotLane>
A commit reference to a commit in the DAG. -
Uses of ObjectId in org.eclipse.jgit.revwalk
Subclasses of ObjectId in org.eclipse.jgit.revwalkModifier and TypeClassDescriptionstatic class
RevCommit with a depth (in commits) from a root.class
A binary file, or a symbolic link.class
A commit reference to a commit in the DAG.class
Base object type accessed during revision walking.class
An annotated tag.class
A reference to a tree of subtrees/files.Fields in org.eclipse.jgit.revwalk with type parameters of type ObjectIdMethods in org.eclipse.jgit.revwalk with type parameters of type ObjectIdModifier and TypeMethodDescription<T extends ObjectId>
AsyncRevObjectQueueAsynchronous object parsing.Methods in org.eclipse.jgit.revwalk that return ObjectIdMethods in org.eclipse.jgit.revwalk that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionDepthWalk.getDeepenNots()
DepthWalk.ObjectWalk.getDeepenNots()
DepthWalk.RevWalk.getDeepenNots()
Methods in org.eclipse.jgit.revwalk with parameters of type ObjectIdModifier and TypeMethodDescriptionprivate void
TreeRevFilter.updateFollowFilter
(ObjectId[] trees, DiffConfig cfg) Method parameters in org.eclipse.jgit.revwalk with type arguments of type ObjectIdModifier and TypeMethodDescriptionvoid
RevWalk.assumeShallow
(Collection<? extends ObjectId> ids) Assume additional commits are shallow (have no parents).BitmapWalker.findObjects
(Iterable<? extends ObjectId> start, BitmapIndex.BitmapBuilder seen, boolean ignoreMissing) Return, as a bitmap, the objects reachable from the objects in start.private BitmapIndex.BitmapBuilder
BitmapWalker.findObjectsWalk
(Iterable<? extends ObjectId> start, BitmapIndex.BitmapBuilder seen, boolean ignoreMissingStart) void
DepthWalk.RevWalk.setDeepenNots
(List<ObjectId> deepenNots) Mark objects that the client specified using --shallow-exclude. -
Uses of ObjectId in org.eclipse.jgit.storage.file
Fields in org.eclipse.jgit.storage.file declared as ObjectIdMethods in org.eclipse.jgit.storage.file that return ObjectId -
Uses of ObjectId in org.eclipse.jgit.storage.pack
Fields in org.eclipse.jgit.storage.pack with type parameters of type ObjectIdModifier and TypeFieldDescriptionPackStatistics.Accumulator.clientShallowCommits
The set of shallow commits on the client.PackStatistics.Accumulator.interestingObjects
The set of objects to be included in the pack.PackStatistics.Accumulator.rootCommits
Commits with no parents.PackStatistics.Accumulator.uninterestingObjects
The set of objects to be excluded from the pack.Methods in org.eclipse.jgit.storage.pack that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionPackStatistics.getClientShallowCommits()
Get unmodifiable collection of objects that were shallow commits on the client.PackStatistics.getInterestingObjects()
Get unmodifiable collection of objects to be included in the pack.PackStatistics.getRootCommits()
Get unmodifiable collection of the root commits of the history.PackStatistics.getUninterestingObjects()
Get unmodifiable collection of objects that should be excluded from the pack -
Uses of ObjectId in org.eclipse.jgit.submodule
Fields in org.eclipse.jgit.submodule declared as ObjectIdModifier and TypeFieldDescriptionprivate final ObjectId
SubmoduleStatus.headId
private final ObjectId
SubmoduleStatus.indexId
private final ObjectId
SubmoduleConflict.objectId
Methods in org.eclipse.jgit.submodule that return ObjectIdModifier and TypeMethodDescriptionSubmoduleWalk.getHead()
Get commit id that HEAD points to in the current submodule's repositorySubmoduleStatus.getHeadId()
Get HEAD object idSubmoduleStatus.getIndexId()
Get index object idSubmoduleConflict.getObjectId()
SubmoduleWalk.getObjectId()
Get object id of current submodule entryConstructors in org.eclipse.jgit.submodule with parameters of type ObjectIdModifierConstructorDescriptionSubmoduleConflict
(ObjectId objectId) Create a SubmoduleConflict for the given submodule object idSubmoduleStatus
(SubmoduleStatusType type, String path, ObjectId indexId) Create submodule statusSubmoduleStatus
(SubmoduleStatusType type, String path, ObjectId indexId, ObjectId headId) Create submodule status -
Uses of ObjectId in org.eclipse.jgit.transport
Subclasses of ObjectId in org.eclipse.jgit.transportModifier and TypeClassDescriptionclass
Description of an object stored in a pack file, including offset.private static class
Fields in org.eclipse.jgit.transport declared as ObjectIdModifier and TypeFieldDescriptionprivate ObjectId
RemoteRefUpdate.expectedOldObjectId
(package private) ObjectId
PackParser.DeltaVisit.id
private final ObjectId
ReceiveCommand.newId
private final ObjectId
RemoteRefUpdate.newObjectId
(package private) ObjectId
TrackingRefUpdate.newObjectId
(package private) ObjectId
FetchHeadRecord.newValue
private final ObjectId
ReceiveCommand.oldId
(package private) ObjectId
TrackingRefUpdate.oldObjectId
Fields in org.eclipse.jgit.transport with type parameters of type ObjectIdModifier and TypeFieldDescriptionBasePackConnection.additionalHaves
Extra objects the remote has, but which aren't offered as refs.UploadPack.advertised
Objects we sent in our advertisement list.ReceivePack.advertisedHaves
All SHA-1s shown to the client, which can be possible edges.FetchProcess.askFor
Set of refs we will actually wind up asking to obtain.private ObjectIdSubclassMap<ObjectId>
PackParser.baseObjectIds
Objects referenced by their name from deltas, that aren't in this pack.FetchRequest.clientShallowCommits
FetchV0Request.Builder.clientShallowCommits
FetchV2Request.Builder.clientShallowCommits
ReceivePack.clientShallowCommits
WalkFetchConnection.fetchErrors
Errors received while trying to obtain an object.FetchProcess.have
Objects we know we have locally.BundleWriter.include
private ObjectIdSubclassMap<ObjectId>
PackParser.newObjectIds
Every object contained within the incoming pack.ObjectInfoRequest.Builder.objectIDs
ObjectInfoRequest.objectIDs
FetchV2Request.Builder.peerHas
FetchV2Request.peerHas
BundleFetchConnection.prereqs
RefAdvertiser.sent
BundleWriter.tagTargets
FetchRequest.wantIds
FetchV0Request.Builder.wantIds
FetchV2Request.Builder.wantIds
UploadPack.wantIds
Raw ObjectIds the client has asked for, before validating them.private LinkedList<ObjectId>
WalkFetchConnection.workQueue
Objects we need to copy from the remote repository.Methods in org.eclipse.jgit.transport that return ObjectIdModifier and TypeMethodDescriptionRemoteRefUpdate.getExpectedOldObjectId()
Get expected old object idReceiveCommand.getNewId()
Get the requested new value for this ref.RemoteRefUpdate.getNewObjectId()
Get new object idTrackingRefUpdate.getNewObjectId()
Get the new value the ref will be (or was) updated to.ReceiveCommand.getOldId()
Get the old value the client thinks the ref has.TrackingRefUpdate.getOldObjectId()
The old value of the ref, prior to the update being attempted.private ObjectId
UploadPack.processHaveLines
(List<ObjectId> peerHas, ObjectId last, PacketLineOut out, PackStatistics.Accumulator accumulator, UploadPack.Option option) private static ObjectId
UploadPack.refToObjectId
(Ref ref) private ObjectId
PushCertificateStore.saveCert
(ObjectInserter inserter, DirCache dc, PushCertificateStore.PendingCert pc, ObjectId curr) private ObjectId
private ObjectId
PushCertificateStore.write()
Methods in org.eclipse.jgit.transport that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionAbstractAdvertiseRefsHook.getAdvertisedHaves
(Repository repository, RevWalk revWalk) Get the additional haves to advertise.ReceivePack.getAdvertisedObjects()
Get objects advertised to the client.PackParser.getBaseObjectIds()
Get set of objects the incoming pack assumed for delta purposesFetchRequest.getClientShallowCommits()
Shallow commits the client already has.ReceivePack.getClientShallowCommits()
Get the commits from the client's shallow file.PackParser.getNewObjectIds()
Get the new objects that were sent by the userObjectInfoRequest.getObjectIDs()
FetchV2Request.getPeerHas()
FetchRequest.getWantIds()
UploadPack.refIdSet
(Collection<Ref> refs) RefAdvertiser.send
(Collection<Ref> refs) Format an advertisement for the supplied refs.Deprecated.WalkFetchConnection.swapFetchQueue()
UploadPack.wantedRefs
(FetchV2Request req) Methods in org.eclipse.jgit.transport with parameters of type ObjectIdModifier and TypeMethodDescription(package private) FetchV0Request.Builder
FetchV0Request.Builder.addClientShallowCommit
(ObjectId shallowOid) (package private) FetchV2Request.Builder
FetchV2Request.Builder.addClientShallowCommit
(ObjectId shallowOid) (package private) FetchV2Request.Builder
FetchV2Request.Builder.addPeerHas
(ObjectId objectId) (package private) FetchV0Request.Builder
(package private) FetchV2Request.Builder
private TrackingRefUpdate
FetchProcess.createUpdate
(RefSpec spec, ObjectId newId) private boolean
PushProcess.isFastForward
(ObjectId oldOid, ObjectId newOid) Determines whether an update fromoldOid
tonewOid
is a fast-forward update: both old and new must be commits, AND both of them must be known to us and exist in the repository, AND the old commit must be an ancestor of the new commit.static ReceiveCommand
Create a command to switch a reference from object to symbolic.private boolean
FetchProcess.localHasObject
(ObjectId id) protected PackedObjectInfo
PackParser.newInfo
(AnyObjectId id, PackParser.UnresolvedDelta delta, ObjectId deltaBase) Construct a PackedObjectInfo instance for this parser.private static RevCommit
UploadPack.objectIdToRevCommit
(RevWalk walk, ObjectId objectId) Translate an object id to a RevCommit.private static RevObject
UploadPack.objectIdToRevObject
(RevWalk walk, ObjectId objectId) Translate an object id to a RevObject.private void
BasePackFetchConnection.parseReachable
(ObjectId id) private void
private ObjectId
UploadPack.processHaveLines
(List<ObjectId> peerHas, ObjectId last, PacketLineOut out, PackStatistics.Accumulator accumulator, UploadPack.Option option) private void
private void
BasePackConnection.processLineV2
(String line, ObjectId id, String rest, Map<String, Ref> avail, Map<String, String> symRefs) private void
FetchProcess.removeFetchHeadRecord
(ObjectId want) private void
FetchProcess.removeTrackingRefUpdate
(ObjectId want) private ObjectId
PushCertificateStore.saveCert
(ObjectInserter inserter, DirCache dc, PushCertificateStore.PendingCert pc, ObjectId curr) (package private) void
RemoteRefUpdate.setExpectedOldObjectId
(ObjectId id) static ReceiveCommand
Create a command to switch a reference from symbolic to object.private RefUpdate.Result
private void
(package private) void
Overwrite (or create) a loose ref in the remote repository.Method parameters in org.eclipse.jgit.transport with type arguments of type ObjectIdModifier and TypeMethodDescriptionvoid
ConnectivityChecker.checkConnectivity
(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, Set<ObjectId> haves, ProgressMonitor pm) Checks connectivity of the commit graph after pack uploading.private static void
UploadPack.checkNotAdvertisedWants
(UploadPack up, List<ObjectId> notAdvertisedWants, Collection<Ref> visibleRefs) void
UploadPack.AdvertisedRequestValidator.checkWants
(UploadPack up, List<ObjectId> wants) void
UploadPack.AnyRequestValidator.checkWants
(UploadPack up, List<ObjectId> wants) void
UploadPack.ReachableCommitRequestValidator.checkWants
(UploadPack up, List<ObjectId> wants) void
UploadPack.ReachableCommitTipRequestValidator.checkWants
(UploadPack up, List<ObjectId> wants) void
UploadPack.RequestValidator.checkWants
(UploadPack up, List<ObjectId> wants) Check a list of client wants against the request policy.void
UploadPack.TipRequestValidator.checkWants
(UploadPack up, List<ObjectId> wants) private void
UploadPack.computeShallowsAndUnshallows
(FetchRequest req, UploadPack.IOConsumer<ObjectId> shallowFunc, UploadPack.IOConsumer<ObjectId> unshallowFunc, List<ObjectId> deepenNots) private void
UploadPack.computeShallowsAndUnshallows
(FetchRequest req, UploadPack.IOConsumer<ObjectId> shallowFunc, UploadPack.IOConsumer<ObjectId> unshallowFunc, List<ObjectId> deepenNots) protected abstract void
BaseFetchConnection.doFetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Implementation ofBaseFetchConnection.fetch(ProgressMonitor, Collection, Set)
without checking for multiple fetch.protected void
BasePackFetchConnection.doFetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream outputStream) Execute common ancestor negotiation and fetch the objects.protected void
BundleFetchConnection.doFetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Implementation ofBaseFetchConnection.fetch(ProgressMonitor, Collection, Set)
without checking for multiple fetch.protected void
TransportHttp.SmartHttpFetchConnection.doFetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream outputStream) protected void
WalkFetchConnection.doFetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Implementation ofBaseFetchConnection.fetch(ProgressMonitor, Collection, Set)
without checking for multiple fetch.final void
BaseFetchConnection.fetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Fetch objects we don't have but that are reachable from advertised refs.final void
BaseFetchConnection.fetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream out) Fetch objects we don't have but that are reachable from advertised refs.final void
BasePackFetchConnection.fetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Fetch objects we don't have but that are reachable from advertised refs.final void
BasePackFetchConnection.fetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream outputStream) Fetch objects we don't have but that are reachable from advertised refs.void
FetchConnection.fetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Fetch objects we don't have but that are reachable from advertised refs.void
FetchConnection.fetch
(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream out) Fetch objects we don't have but that are reachable from advertised refs.private void
WalkFetchConnection.markLocalRefsComplete
(Set<ObjectId> have) private void
BasePackFetchConnection.markReachable
(Set<ObjectId> have, int maxTime) UploadPack.objectIdsToRevObjects
(RevWalk walk, Iterable<ObjectId> objectIds) void
PreUploadHook.onBeginNegotiateRound
(UploadPack up, Collection<? extends ObjectId> wants, int cntOffered) Invoked before negotiation round is started.void
PreUploadHookChain.onBeginNegotiateRound
(UploadPack up, Collection<? extends ObjectId> wants, int cntOffered) Invoked before negotiation round is started.void
PreUploadHook.onEndNegotiateRound
(UploadPack up, Collection<? extends ObjectId> wants, int cntCommon, int cntNotFound, boolean ready) Invoked after a negotiation round is completed.void
PreUploadHookChain.onEndNegotiateRound
(UploadPack up, Collection<? extends ObjectId> wants, int cntCommon, int cntNotFound, boolean ready) Invoked after a negotiation round is completed.void
PreUploadHook.onSendPack
(UploadPack up, Collection<? extends ObjectId> wants, Collection<? extends ObjectId> haves) Invoked just before a pack will be sent to the client.void
PreUploadHookChain.onSendPack
(UploadPack up, Collection<? extends ObjectId> wants, Collection<? extends ObjectId> haves) Invoked just before a pack will be sent to the client.private ObjectId
UploadPack.processHaveLines
(List<ObjectId> peerHas, ObjectId last, PacketLineOut out, PackStatistics.Accumulator accumulator, UploadPack.Option option) private void
UploadPack.sendPack
(ProgressMonitor pm, PacketLineOut pckOut, OutputStream packOut, FetchRequest req, PackStatistics.Accumulator accumulator, Collection<Ref> allTags, List<ObjectId> unshallowCommits, List<ObjectId> deepenNots) Send the requested objects to the client.private void
UploadPack.sendPack
(PackStatistics.Accumulator accumulator, FetchRequest req, Collection<Ref> allTags, List<ObjectId> unshallowCommits, List<ObjectId> deepenNots, PacketLineOut pckOut) Send the requested objects to the client.void
Set the refs advertised by this ReceivePack.ObjectInfoRequest.Builder.setObjectIDs
(List<ObjectId> value) private boolean
UploadPack.shouldGiveUp
(List<ObjectId> peerHas, PacketLineOut out, int missCnt) private void
UploadPack.verifyClientShallow
(Set<ObjectId> shallowCommits) Constructors in org.eclipse.jgit.transport with parameters of type ObjectIdModifierConstructorDescriptionprivate
ReceiveCommand
(String oldSymref, ObjectId newId, String name) Create a command to switch a reference from symbolic to object.private
ReceiveCommand
(ObjectId oldId, String newSymref, String name) Create a command to switch a reference from object to symbolic.ReceiveCommand
(ObjectId oldId, ObjectId newId, String name) Create a new command forReceivePack
.ReceiveCommand
(ObjectId oldId, ObjectId newId, String name, ReceiveCommand.Type type) Create a new command forReceivePack
.RemoteRefUpdate
(Repository localDb, String srcRef, String remoteName, boolean forceUpdate, String localName, ObjectId expectedOldObjectId) Construct remote ref update request by providing an update specification.private
RemoteRefUpdate
(Repository localDb, String srcRef, ObjectId srcId, String remoteName, boolean forceUpdate, String localName, Collection<RefSpec> fetchSpecs, ObjectId expectedOldObjectId) RemoteRefUpdate
(Repository localDb, String srcRef, ObjectId srcId, String remoteName, boolean forceUpdate, String localName, ObjectId expectedOldObjectId) Construct remote ref update request by providing an update specification.RemoteRefUpdate
(Repository localDb, Ref srcRef, String remoteName, boolean forceUpdate, String localName, ObjectId expectedOldObjectId) Construct remote ref update request by providing an update specification.RemoteRefUpdate
(RemoteRefUpdate base, ObjectId newExpectedOldObjectId) Create a new instance of this object basing on existing instance for configuration.Constructor parameters in org.eclipse.jgit.transport with type arguments of type ObjectIdModifierConstructorDescription(package private)
FetchRequest
(Set<ObjectId> wantIds, int depth, Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, Set<String> clientCapabilities, int deepenSince, List<String> deepenNotRefs, String agent) Initialize the common fields of a fetch request.(package private)
FetchV0Request
(Set<ObjectId> wantIds, int depth, Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, Set<String> clientCapabilities, String agent) (package private)
FetchV2Request
(List<ObjectId> peerHas, List<String> wantedRefs, Set<ObjectId> wantIds, Set<ObjectId> clientShallowCommits, int deepenSince, List<String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, boolean waitForDone, Set<String> clientCapabilities, String agent, List<String> serverOptions, boolean sidebandAll, List<String> packfileUriProtocols) (package private)
FetchV2Request
(List<ObjectId> peerHas, List<String> wantedRefs, Set<ObjectId> wantIds, Set<ObjectId> clientShallowCommits, int deepenSince, List<String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, boolean waitForDone, Set<String> clientCapabilities, String agent, List<String> serverOptions, boolean sidebandAll, List<String> packfileUriProtocols) private
ObjectInfoRequest
(List<ObjectId> objectIDs) -
Uses of ObjectId in org.eclipse.jgit.treewalk
Methods in org.eclipse.jgit.treewalk that return ObjectIdModifier and TypeMethodDescriptionAbstractTreeIterator.getEntryObjectId()
Get the object id of the current entry.EmptyTreeIterator.getEntryObjectId()
Get the object id of the current entry.TreeWalk.getObjectId
(int nth) Obtain the ObjectId for the current entry. -
Uses of ObjectId in org.eclipse.jgit.util
Methods in org.eclipse.jgit.util that return ObjectIdModifier and TypeMethodDescriptionstatic ObjectId
ChangeIdUtil.computeChangeId
(ObjectId treeId, ObjectId firstParentId, PersonIdent author, PersonIdent committer, String message) Compute a Change-Id.Methods in org.eclipse.jgit.util with parameters of type ObjectIdModifier and TypeMethodDescriptionstatic ObjectId
ChangeIdUtil.computeChangeId
(ObjectId treeId, ObjectId firstParentId, PersonIdent author, PersonIdent committer, String message) Compute a Change-Id.static String
Find the right place to insert a Change-Id and return it.static String
Find the right place to insert a Change-Id and return it. -
Uses of ObjectId in org.eclipse.jgit.util.sha1
Methods in org.eclipse.jgit.util.sha1 that return ObjectIdModifier and TypeMethodDescription(package private) ObjectId
SHA1.State.toObjectId()
SHA1.toObjectId()
Finish the digest and return the resulting hash.Constructors in org.eclipse.jgit.util.sha1 with parameters of type ObjectIdModifierConstructorDescriptionInitialize with default message.
RefAdvertiser.send(Collection)
instead.