Uses of Class
org.eclipse.jgit.lib.ObjectId
-
Packages that use ObjectId Package Description org.eclipse.jgit.api High-level API commands (the porcelain of JGit).org.eclipse.jgit.api.errors Exceptions thrown by API commands.org.eclipse.jgit.archive org.eclipse.jgit.blame Computing blame/annotate information of files.org.eclipse.jgit.diff Comparing file contents by computing diffs.org.eclipse.jgit.dircache Reading and editing the directory cache (index).org.eclipse.jgit.errors Exceptions thrown by lower-level JGit APIs.org.eclipse.jgit.gitrepo org.eclipse.jgit.internal.fsck Git fsck support.org.eclipse.jgit.internal.storage.dfs Distributed file system based repository storage.org.eclipse.jgit.internal.storage.file File based repository storage.org.eclipse.jgit.internal.storage.pack Reading/writing Git pack files.org.eclipse.jgit.internal.storage.reftable org.eclipse.jgit.internal.transport.connectivity org.eclipse.jgit.lib Core API for repository, config, refs, object database.org.eclipse.jgit.merge Content and commit history merge algorithms.org.eclipse.jgit.notes Git notes processing (for commits, etc).org.eclipse.jgit.pgm org.eclipse.jgit.pgm.debug org.eclipse.jgit.pgm.opt org.eclipse.jgit.revplot Building/rendering revision graphs.org.eclipse.jgit.revwalk Walking revision graphs (commit history).org.eclipse.jgit.storage.file org.eclipse.jgit.storage.pack org.eclipse.jgit.submodule Git submodule support.org.eclipse.jgit.transport Transport (fetch/push) for different protocols.org.eclipse.jgit.treewalk Walking and comparing directory/file trees (of commits, file system).org.eclipse.jgit.util Utility classes.org.eclipse.jgit.util.sha1 -
-
Uses of ObjectId in org.eclipse.jgit.api
Subclasses of ObjectId in org.eclipse.jgit.api Modifier and Type Class Description private static class
NameRevCommand.NameRevCommit
Fields in org.eclipse.jgit.api declared as ObjectId Modifier and Type Field Description private 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 ObjectId Modifier and Type Field Description private java.util.List<ObjectId>
CommitCommand. parents
parents this commit should have.private java.util.Collection<ObjectId>
BlameCommand. reverseEndCommits
private java.util.List<ObjectId>
NameRevCommand. revs
Methods in org.eclipse.jgit.api that return ObjectId Modifier and Type Method Description ObjectId
StashApplyCommand. call()
ObjectId
StashDropCommand. call()
ObjectId
MergeResult. getBase()
Get the common baseObjectId[]
MergeResult. getMergedCommits()
Get the commits which have been mergedObjectId
MergeResult. 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
ApplyCommand. hash(java.io.File f)
private ObjectId
ResetCommand. resolveRefToCommitId()
Methods in org.eclipse.jgit.api that return types with arguments of type ObjectId Modifier and Type Method Description java.util.Map<ObjectId,java.lang.String>
NameRevCommand. call()
Methods in org.eclipse.jgit.api with parameters of type ObjectId Modifier and Type Method Description NameRevCommand
NameRevCommand. add(ObjectId id)
Add an object to search for.private void
ApplyCommand. applyBinary(Repository repository, java.lang.String path, java.io.File f, FileHeader fh, ApplyCommand.StreamSupplier loader, ObjectId id, DirCacheCheckout.CheckoutMetadata checkOut)
private void
CommitCommand. checkIfEmpty(RevWalk rw, ObjectId headId, ObjectId indexTreeId)
private void
ApplyCommand. checkOid(ObjectId baseId, ObjectId id, DiffEntry.ChangeType type, java.io.File f, java.lang.String path)
private void
ResetCommand. checkoutIndex(ObjectId commitTree)
private DirCache
CommitCommand. createTemporaryIndex(ObjectId headId, DirCache index, RevWalk rw)
private void
CommitCommand. insertChangeId(ObjectId treeId)
private java.lang.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, java.lang.String path, FileMode mode, ObjectLoader loader)
Write an entry to an archive.private void
ResetCommand. resetIndex(ObjectId commitTree)
private void
ResetCommand. resetIndexForPaths(ObjectId commitTree)
DescribeCommand
DescribeCommand. setTarget(ObjectId target)
Sets the commit to be described.ArchiveCommand
ArchiveCommand. setTree(ObjectId tree)
Set the tag, commit, or tree object to produce an archive forprivate void
MergeCommand. updateHead(java.lang.StringBuilder refLogMessage, ObjectId newHeadId, ObjectId oldHeadID)
private void
CommitCommand. updateRef(RepositoryState state, ObjectId headId, RevCommit revCommit, ObjectId commitId)
private void
StashDropCommand. updateRef(Ref stashRef, ObjectId newId)
private void
RebaseCommand. updateStashRef(ObjectId commitId, PersonIdent refLogIdent, java.lang.String refLogMessage)
private void
StashCreateCommand. updateStashRef(ObjectId commitId, PersonIdent refLogIdent, java.lang.String refLogMessage)
private Ref
TagCommand. updateTagRef(ObjectId tagId, RevWalk revWalk, java.lang.String tagName, java.lang.String newTagToString)
Method parameters in org.eclipse.jgit.api with type arguments of type ObjectId Modifier and Type Method Description NameRevCommand
NameRevCommand. add(java.lang.Iterable<ObjectId> ids)
Add multiple objects to search for.private void
NameRevCommand. addPrefix(java.lang.String prefix, java.util.Map<ObjectId,java.lang.String> nonCommits, FIFORevQueue pending)
private void
NameRevCommand. addPrefixes(java.util.Map<ObjectId,java.lang.String> nonCommits, FIFORevQueue pending)
private void
NameRevCommand. addRef(Ref ref, java.util.Map<ObjectId,java.lang.String> nonCommits, FIFORevQueue pending)
BlameCommand
BlameCommand. reverse(AnyObjectId start, java.util.Collection<ObjectId> end)
Configure the generator to compute reverse blame (history of deletes).Constructors in org.eclipse.jgit.api with parameters of type ObjectId Constructor Description MergeResult(ObjectId newHead, ObjectId base, ObjectId[] mergedCommits, MergeResult.MergeStatus mergeStatus, MergeStrategy mergeStrategy, java.util.Map<java.lang.String,MergeResult<?>> lowLevelResults)
Constructor for MergeResult.MergeResult(ObjectId newHead, ObjectId base, ObjectId[] mergedCommits, MergeResult.MergeStatus mergeStatus, MergeStrategy mergeStrategy, java.util.Map<java.lang.String,MergeResult<?>> lowLevelResults, java.lang.String description)
Constructor for MergeResult.MergeResult(ObjectId newHead, ObjectId base, ObjectId[] mergedCommits, MergeResult.MergeStatus mergeStatus, MergeStrategy mergeStrategy, java.util.Map<java.lang.String,MergeResult<?>> lowLevelResults, java.util.Map<java.lang.String,ResolveMerger.MergeFailureReason> failingPaths, java.lang.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 ObjectId Constructor Description WrongObjectTypeException(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 ObjectId Modifier and Type Method Description void
TarFormat. putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, java.lang.String path, FileMode mode, ObjectLoader loader)
Write an entry to an archive.void
Tbz2Format. putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, java.lang.String path, FileMode mode, ObjectLoader loader)
Write an entry to an archive.void
TgzFormat. putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, java.lang.String path, FileMode mode, ObjectLoader loader)
Write an entry to an archive.void
TxzFormat. putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, java.lang.String path, FileMode mode, ObjectLoader loader)
Write an entry to an archive.void
ZipFormat. putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, java.lang.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.blame Modifier and Type Class Description (package private) static class
ReverseWalk.ReverseCommit
Fields in org.eclipse.jgit.blame declared as ObjectId Modifier and Type Field Description (package private) ObjectId
Candidate. sourceBlob
Unique name of the candidate blob inCandidate.sourceCommit
.Methods in org.eclipse.jgit.blame with parameters of type ObjectId Modifier and Type Method Description private java.util.List<RevCommit>
BlameGenerator. getHeads(Repository repo, ObjectId head)
Method parameters in org.eclipse.jgit.blame with type arguments of type ObjectId Modifier and Type Method Description BlameGenerator
BlameGenerator. reverse(AnyObjectId start, java.util.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 ObjectId Modifier and Type Method Description ObjectId
PatchIdDiffFormatter. getCalulatedPatchId()
Should be called after having called one of the format methodsMethods in org.eclipse.jgit.diff with parameters of type ObjectId Modifier and Type Method Description ObjectLoader
ContentSource.ObjectReaderSource. open(java.lang.String path, ObjectId id)
abstract ObjectLoader
ContentSource. open(java.lang.String path, ObjectId id)
Open the object.ObjectLoader
ContentSource.WorkingTreeSource. open(java.lang.String path, ObjectId id)
long
ContentSource.ObjectReaderSource. size(java.lang.String path, ObjectId id)
abstract long
ContentSource. size(java.lang.String path, ObjectId id)
Determine the size of the object.long
ContentSource.WorkingTreeSource. size(java.lang.String path, ObjectId id)
-
Uses of ObjectId in org.eclipse.jgit.dircache
Fields in org.eclipse.jgit.dircache declared as ObjectId Modifier and Type Field Description private ObjectId
DirCacheCheckout. headCommitTree
private ObjectId
DirCacheTree. id
Unique SHA-1 of this tree; null if invalid.private ObjectId
DirCacheCheckout. mergeCommitTree
(package private) ObjectId
DirCacheIterator.LazyLoadingAttributesNode. objectId
Methods in org.eclipse.jgit.dircache that return ObjectId Modifier and Type Method Description ObjectId
DirCacheEntry. getObjectId()
Obtain the ObjectId for the entry.ObjectId
DirCacheTree. getObjectId()
Get the tree's ObjectId.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 ObjectId Modifier and Type Method Description private int
DirCacheCheckout. addTree(TreeWalk tw, ObjectId id)
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(java.lang.String path, ObjectId iId, FileMode iMode, ObjectId tId, FileMode tMode, ObjectId rootTree)
private boolean
DirCacheCheckout. isModifiedSubtree_IndexTree(java.lang.String path, ObjectId tree)
Checks whether the subtree starting at a given path differs between Index and some tree.private void
DirCacheCheckout. update(int index, java.lang.String path, ObjectId mId, FileMode mode)
Constructors in org.eclipse.jgit.dircache with parameters of type ObjectId Constructor Description DirCacheCheckout(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.LazyLoadingAttributesNode(ObjectId objectId)
-
Uses of ObjectId in org.eclipse.jgit.errors
Fields in org.eclipse.jgit.errors declared as ObjectId Modifier and Type Field Description private ObjectId
MissingObjectException. missing
private ObjectId
LargeObjectException. objectId
Fields in org.eclipse.jgit.errors with type parameters of type ObjectId Modifier and Type Field Description private java.util.Collection<ObjectId>
AmbiguousObjectException. candidates
Methods in org.eclipse.jgit.errors that return ObjectId Modifier and Type Method Description ObjectId
LargeObjectException. getObjectId()
Get identity of the object that is too large; may be nullObjectId
MissingObjectException. getObjectId()
Get the ObjectId that was not foundMethods in org.eclipse.jgit.errors that return types with arguments of type ObjectId Modifier and Type Method Description java.util.Collection<ObjectId>
AmbiguousObjectException. getCandidates()
Get the matching candidates (or at least a subset of them)Method parameters in org.eclipse.jgit.errors with type arguments of type ObjectId Modifier and Type Method Description private static java.lang.String
MissingBundlePrerequisiteException. format(java.util.Map<ObjectId,java.lang.String> missingCommits)
Constructors in org.eclipse.jgit.errors with parameters of type ObjectId Constructor Description CorruptObjectException(ObjectId id, java.lang.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, java.lang.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, java.lang.String type)
Construct a MissingObjectException for the specified object id.Constructor parameters in org.eclipse.jgit.errors with type arguments of type ObjectId Constructor Description AmbiguousObjectException(AbbreviatedObjectId id, java.util.Collection<ObjectId> candidates)
Construct a MissingObjectException for the specified object id.MissingBundlePrerequisiteException(URIish uri, java.util.Map<ObjectId,java.lang.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 ObjectId Modifier and Type Method Description ObjectId
RepoCommand.DefaultRemoteReader. sha1(java.lang.String uri, java.lang.String ref)
ObjectId
RepoCommand.RemoteReader. sha1(java.lang.String uri, java.lang.String ref)
Read a remote ref sha1.Methods in org.eclipse.jgit.gitrepo with parameters of type ObjectId Modifier and Type Method Description private 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.fsck Modifier and Type Class Description (package private) static class
FsckPackParser.ObjFromPack
Fields in org.eclipse.jgit.internal.fsck declared as ObjectId Modifier and Type Field Description (package private) ObjectId
FsckError.CorruptObject. id
Fields in org.eclipse.jgit.internal.fsck with type parameters of type ObjectId Modifier and Type Field Description private java.util.Set<ObjectId>
FsckError. missingObjects
Methods in org.eclipse.jgit.internal.fsck that return ObjectId Modifier and Type Method Description ObjectId
FsckError.CorruptObject. getId()
Methods in org.eclipse.jgit.internal.fsck that return types with arguments of type ObjectId Modifier and Type Method Description java.util.Set<ObjectId>
FsckError. getMissingObjects()
Get missing objects that should present in pack filesConstructors in org.eclipse.jgit.internal.fsck with parameters of type ObjectId Constructor Description CorruptObject(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 ObjectId Modifier and Type Class Description private static class
DfsReader.FoundObject<T extends ObjectId>
Subclasses of ObjectId in org.eclipse.jgit.internal.storage.dfs Modifier and Type Class Description (package private) class
DfsObjectToPack
private static class
DfsPackCompactor.ObjectIdWithOffset
Fields in org.eclipse.jgit.internal.storage.dfs declared as ObjectId Modifier and Type Field Description (package private) ObjectId
DfsObjectRepresentation. baseId
private ObjectId
DfsInserter.StreamLoader. id
(package private) T
DfsReader.FoundObject. id
Fields in org.eclipse.jgit.internal.storage.dfs with type parameters of type ObjectId Modifier and Type Field Description private java.util.Set<ObjectId>
DfsGarbageCollector. allHeadsAndTags
private java.util.Set<ObjectId>
DfsGarbageCollector. allTags
private java.util.Set<ObjectId>
DfsGarbageCollector. nonHeads
private java.util.Set<ObjectId>
DfsGarbageCollector. tagTargets
Methods in org.eclipse.jgit.internal.storage.dfs with type parameters of type ObjectId Modifier and Type Method Description private <T extends ObjectId>
java.lang.Iterable<DfsReader.FoundObject<T>>DfsReader. findAll(java.lang.Iterable<T> objectIds)
private <T extends ObjectId>
voidDfsReader. findAllImpl(DfsObjDatabase.PackList packList, java.util.Collection<T> pending, java.util.List<DfsReader.FoundObject<T>> r)
<T extends ObjectId>
AsyncObjectSizeQueue<T>DfsReader. getObjectSize(java.lang.Iterable<T> objectIds, boolean reportMissing)
Asynchronous object size lookup.<T extends ObjectId>
AsyncObjectLoaderQueue<T>DfsReader. open(java.lang.Iterable<T> objectIds, boolean reportMissing)
Asynchronous object opening.Methods in org.eclipse.jgit.internal.storage.dfs that return ObjectId Modifier and Type Method Description private ObjectId
DfsInserter. endObject(ObjectId id, long offset)
ObjectId
DfsObjectRepresentation. getDeltaBase()
Get identity of the object this delta applies to in order to recover the original object content.ObjectId
DfsInserter. insert(int type, byte[] data, int off, int len)
Insert a single object into the store, returning its unique name.ObjectId
DfsInserter. insert(int type, long len, java.io.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 ObjectId Modifier and Type Method Description java.util.Set<ObjectId>
DfsInserter.Reader. getShallowCommits()
java.util.Set<ObjectId>
DfsReader. getShallowCommits()
Returns IDs for those commits which should be considered as shallow.java.util.Collection<ObjectId>
DfsInserter.Reader. resolve(AbbreviatedObjectId id)
java.util.Collection<ObjectId>
DfsReader. resolve(AbbreviatedObjectId id)
Resolve an abbreviated ObjectId to its full form.Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type ObjectId Modifier and Type Method Description private ObjectId
DfsInserter. endObject(ObjectId id, long offset)
private long
DfsPackFile. findDeltaBase(DfsReader ctx, ObjectId baseId)
java.util.Set<Ref>
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 ObjectId Modifier and Type Method Description (package private) void
DfsPackFile. resolve(DfsReader ctx, java.util.Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit)
private void
DfsReader. resolveImpl(DfsObjDatabase.PackList packList, AbbreviatedObjectId id, java.util.HashSet<ObjectId> matches)
Constructors in org.eclipse.jgit.internal.storage.dfs with parameters of type ObjectId Constructor Description 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.file Modifier and Type Class Description (package private) static class
BasePackBitmapIndex.StoredBitmap
Data representation of the bitmap entry restored from a pack index.private static class
BitmapIndexImpl.MutableEntry
private static class
CachedObjectDirectory.UnpackedObjectId
(package private) static class
LazyObjectIdSetFile.Entry
(package private) class
LocalObjectToPack
private static class
PackBitmapIndexBuilder.PositionEntry
static class
PackBitmapIndexRemapper.Entry
An entry in the old PackBitmapIndex.Fields in org.eclipse.jgit.internal.storage.file declared as ObjectId Modifier and Type Field Description private ObjectId
LocalObjectRepresentation. baseId
private ObjectId
RefDirectory.PackedRefList. id
private ObjectId
UnpackedObject.LargeObject. id
private static 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 ObjectId Modifier and Type Field Description private java.util.concurrent.atomic.AtomicReferenceArray<ObjectId>
UnpackedObjectCache.Table. ids
private java.util.Set<ObjectId>
ObjectDirectory. shallowCommitsIds
Methods in org.eclipse.jgit.internal.storage.file that return ObjectId Modifier and Type Method Description private ObjectId
PackInserter. computeName(java.util.List<PackedObjectInfo> list)
private ObjectId
PackInserter. endObject(ObjectId id, long offset)
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.ObjectId
LocalObjectRepresentation. getDeltaBase()
Get identity of the object this delta applies to in order to recover the original object content.ObjectId
ReflogEntryImpl. getNewId()
Get the commit id after the changeabstract ObjectId
PackBitmapIndex. getObject(int position)
Get the object at the bitmap position.ObjectId
PackBitmapIndexBuilder. getObject(int position)
Get the object at the bitmap position.ObjectId
PackBitmapIndexRemapper. getObject(int position)
Get the object at the bitmap position.ObjectId
PackBitmapIndexV1. getObject(int position)
Get the object at the bitmap position.ObjectId
BitmapIndexImpl.BitmapObjectImpl. getObjectId()
private ObjectId
LargePackedWholeObject. getObjectId()
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()
.ObjectId
PackIndexV1. getObjectId(long nthPosition)
Get ObjectId for the n-th object entry returned byPackIndex.iterator()
.ObjectId
PackIndexV2. getObjectId(long nthPosition)
Get ObjectId for the n-th object entry returned byPackIndex.iterator()
.ObjectId
RefDirectory.LooseUnpeeled. getObjectId()
ObjectId
ReflogEntryImpl. getOldId()
Get the commit id before the changeObjectId
ObjectDirectoryInserter. 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.ObjectId
ObjectDirectoryInserter. insert(int type, long len, java.io.InputStream is)
Insert a single object into the store, returning its unique name.(package private) ObjectId
ObjectDirectoryInserter. insert(int type, long len, java.io.InputStream is, boolean createDuplicate)
Insert a loose object into the database.ObjectId
PackInserter. insert(int type, byte[] data, int off, int len)
Insert a single object into the store, returning its unique name.ObjectId
PackInserter. insert(int type, long len, java.io.InputStream in)
Insert a single object into the store, returning its unique name.private ObjectId
ObjectDirectoryInserter. insertOneObject(java.io.File tmp, ObjectId id, boolean createDuplicate)
ObjectId
PackIndex.MutableEntry. toObjectId()
Methods in org.eclipse.jgit.internal.storage.file that return types with arguments of type ObjectId Modifier and Type Method Description java.util.Set<ObjectId>
FileRepository. getAdditionalHaves()
Objects known to exist but not expressed byRepository.getAllRefs()
.private java.util.Set<ObjectId>
FileRepository. getAdditionalHaves(java.util.Set<ObjectDirectory.AlternateHandle.Id> skips)
Objects known to exist but not expressed by#getAllRefs()
.(package private) java.util.Set<ObjectId>
CachedObjectDirectory. getShallowCommits()
(package private) abstract java.util.Set<ObjectId>
FileObjectDatabase. getShallowCommits()
(package private) java.util.Set<ObjectId>
ObjectDirectory. getShallowCommits()
java.util.Set<ObjectId>
PackInserter.Reader. getShallowCommits()
java.util.Set<ObjectId>
WindowCursor. getShallowCommits()
Returns IDs for those commits which should be considered as shallow.private java.util.Set<ObjectId>
GC. listNonHEADIndexObjects()
Return a list of those objects in the index which differ from whats in HEADprivate java.util.Set<ObjectId>
GC. listRefLogObjects(Ref ref, long minTime)
java.util.Collection<ObjectId>
PackInserter.Reader. resolve(AbbreviatedObjectId id)
java.util.Collection<ObjectId>
WindowCursor. resolve(AbbreviatedObjectId id)
Resolve an abbreviated ObjectId to its full form.Methods in org.eclipse.jgit.internal.storage.file with parameters of type ObjectId Modifier and Type Method Description private byte[]
ReflogWriter. encode(ObjectId oldId, ObjectId newId, PersonIdent ident, java.lang.String message)
private ObjectId
PackInserter. endObject(ObjectId id, long offset)
private long
Pack. findDeltaBase(ObjectId baseId)
(package private) static java.io.InputStream
UnpackedObject. inflate(java.io.InputStream in, long size, ObjectId id)
(package private) FileObjectDatabase.InsertLooseObjectResult
LooseObjects. insert(java.io.File tmp, ObjectId id)
private ObjectId
ObjectDirectoryInserter. insertOneObject(java.io.File tmp, ObjectId id, boolean createDuplicate)
(package private) FileObjectDatabase.InsertLooseObjectResult
CachedObjectDirectory. insertUnpackedObject(java.io.File tmp, ObjectId objectId, boolean createDuplicate)
(package private) abstract FileObjectDatabase.InsertLooseObjectResult
FileObjectDatabase. insertUnpackedObject(java.io.File tmp, ObjectId id, boolean createDuplicate)
(package private) FileObjectDatabase.InsertLooseObjectResult
ObjectDirectory. insertUnpackedObject(java.io.File tmp, ObjectId id, boolean createDuplicate)
ReflogWriter
ReflogWriter. log(java.lang.String refName, ObjectId oldId, ObjectId newId, PersonIdent ident, java.lang.String message)
Write the given entry information to the ref's log(package private) static LocalObjectRepresentation
LocalObjectRepresentation. newDelta(Pack pack, long offset, long length, ObjectId base)
private FileObjectDatabase.InsertLooseObjectResult
LooseObjects. tryMove(java.io.File tmp, java.io.File dst, ObjectId id)
void
LockFile. write(ObjectId id)
Write an ObjectId and LF to the temporary file.Method parameters in org.eclipse.jgit.internal.storage.file with type arguments of type ObjectId Modifier and Type Method Description private void
GC. loosen(ObjectDirectoryInserter inserter, ObjectReader reader, Pack pack, java.util.HashSet<ObjectId> existing)
Loosen objects in a pack file which are not also in the newly-created pack files.void
GC. prune(java.util.Set<ObjectId> objectsToKeep)
Like "git prune" this method tries to prune all loose objects which are unreferenced.private void
GC. removeReferenced(java.util.Map<ObjectId,java.io.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(java.util.Set<ObjectId> matches, AbbreviatedObjectId id)
(package private) abstract void
FileObjectDatabase. resolve(java.util.Set<ObjectId> matches, AbbreviatedObjectId id)
(package private) boolean
LooseObjects. resolve(java.util.Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit)
Find objects matching the prefix abbreviation.(package private) void
ObjectDirectory. resolve(java.util.Set<ObjectId> matches, AbbreviatedObjectId id)
private void
ObjectDirectory. resolve(java.util.Set<ObjectId> matches, AbbreviatedObjectId id, java.util.Set<ObjectDirectory.AlternateHandle.Id> skips)
(package private) void
Pack. resolve(java.util.Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit)
(package private) boolean
PackDirectory. resolve(java.util.Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit)
Find objects matching the prefix abbreviation.abstract void
PackIndex. resolve(java.util.Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit)
Find objects matching the prefix abbreviation.void
PackIndexV1. resolve(java.util.Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit)
Find objects matching the prefix abbreviation.void
PackIndexV2. resolve(java.util.Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit)
Find objects matching the prefix abbreviation.private Pack
GC. writePack(java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<ObjectId> tags, java.util.Set<ObjectId> tagTargets, java.util.List<ObjectIdSet> excludeObjects)
Constructors in org.eclipse.jgit.internal.storage.file with parameters of type ObjectId Constructor Description LooseNonTag(FileSnapshot snapshot, java.lang.String refName, ObjectId id)
LoosePeeledTag(FileSnapshot snapshot, java.lang.String refName, ObjectId id, ObjectId p)
LooseUnpeeled(FileSnapshot snapShot, java.lang.String refName, ObjectId id)
PackedRefList(RefList<Ref> src, FileSnapshot s, ObjectId i)
PackFile(java.io.File directory, ObjectId id, PackExt ext)
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.pack Modifier and Type Class Description private static class
BaseSearch.TreeWithData
class
BitmapCommit
A commit object for which a bitmap index should be built.class
ObjectToPack
Per-object state used byPackWriter
.Fields in org.eclipse.jgit.internal.storage.pack declared as ObjectId Modifier and Type Field Description private 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 ObjectId Modifier and Type Field Description private java.util.Set<? extends ObjectId>
PackWriter. excludeFromBitmapSelection
private java.util.Map<ObjectId,java.lang.Integer>
PackWriter.DepthAwareVisitationPolicy. lowestDepthVisited
(package private) java.util.Set<? extends ObjectId>
PackWriterBitmapPreparer.CommitSelectionHelper. newWants
static java.util.Set<ObjectId>
PackWriter. NONE
Empty set of objects forpreparePack()
.private java.util.Set<ObjectId>
PackWriter. tagTargets
private java.util.Collection<? extends ObjectId>
PackWriter. unshallowObjects
private java.util.Set<? extends ObjectId>
PackWriterBitmapPreparer. want
Methods in org.eclipse.jgit.internal.storage.pack that return ObjectId Modifier and Type Method Description ObjectId
PackWriter. computeName()
Computes SHA-1 of lexicographically sorted objects ids written in this pack, as used to name a pack file in repository.ObjectId
StoredObjectRepresentation. getDeltaBase()
Get identity of the object this delta applies to in order to recover the original object content.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 ObjectId Modifier and Type Method Description (package private) 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 ObjectId Modifier and Type Method Description private PackWriterBitmapPreparer.CommitSelectionHelper
PackWriterBitmapPreparer. captureOldAndNewCommits(RevWalk rw, int expectedCommitCount, java.util.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, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<? extends ObjectId> noBitmaps)
private void
PackWriter. findObjectsToPackUsingBitmaps(BitmapWalker bitmapWalker, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have)
void
PackWriter. preparePack(ProgressMonitor countingMonitor, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have)
Prepare the list of objects to be written to the pack stream.void
PackWriter. preparePack(ProgressMonitor countingMonitor, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<? extends ObjectId> shallow)
Prepare the list of objects to be written to the pack stream.void
PackWriter. preparePack(ProgressMonitor countingMonitor, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<? extends ObjectId> shallow, java.util.Set<? extends ObjectId> noBitmaps)
Prepare the list of objects to be written to the pack stream.void
PackWriter. preparePack(ProgressMonitor countingMonitor, ObjectWalk walk, java.util.Set<? extends ObjectId> interestingObjects, java.util.Set<? extends ObjectId> uninterestingObjects, java.util.Set<? extends ObjectId> noBitmaps)
Prepare the list of objects to be written to the pack stream.(package private) java.util.Collection<BitmapCommit>
PackWriterBitmapPreparer. selectCommits(int expectedCommitCount, java.util.Set<? extends ObjectId> excludeFromBitmapSelection)
Returns the commit objects for which bitmap indices should be built.void
PackWriter. setClientShallowCommits(java.util.Set<ObjectId> clientShallowCommits)
Records the set of shallow commits in the client.void
PackWriter. setShallowPack(int depth, java.util.Collection<? extends ObjectId> unshallow)
Configure this pack for a shallow clone.void
PackWriter. setTagTargets(java.util.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 ObjectId Constructor Description CommitSelectionHelper(java.util.Set<? extends ObjectId> newWants, RevCommit[] commitsByOldest, int commitStartPos, java.util.List<RevCommit> newWantsByNewest, BitmapIndex.BitmapBuilder reusedCommitsBitmap, java.util.List<BitmapCommit> reuse)
PackWriterBitmapPreparer(ObjectReader reader, PackBitmapIndexBuilder writeBitmaps, ProgressMonitor pm, java.util.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.reftable Modifier and Type Class Description private static class
ReftableWriter.RefList
Fields in org.eclipse.jgit.internal.storage.reftable declared as ObjectId Modifier and Type Field Description private ObjectId
ReftableReader.ObjCursorImpl. match
(package private) ObjectId
BlockWriter.LogEntry. newId
(package private) ObjectId
BlockWriter.LogEntry. oldId
Methods in org.eclipse.jgit.internal.storage.reftable that return ObjectId Modifier and Type Method Description private ObjectId
BlockReader. readValueId()
private static ObjectId
ReftableDatabase. toId(Ref ref)
Methods in org.eclipse.jgit.internal.storage.reftable with parameters of type ObjectId Modifier and Type Method Description java.util.Set<Ref>
ReftableDatabase. getTipsWithSha1(ObjectId id)
Returns all refs that resolve directly to the givenObjectId
.private void
ReftableWriter. indexId(ObjectId id, long blockPos)
private static byte[]
BlockWriter.ObjEntry. key(int idLen, ObjectId id)
(package private) void
ReftableOutputStream. writeId(ObjectId id)
void
ReftableWriter. writeLog(java.lang.String ref, long updateIndex, PersonIdent who, ObjectId oldId, ObjectId newId, java.lang.String message)
Write one reflog entry to the reftable.Constructors in org.eclipse.jgit.internal.storage.reftable with parameters of type ObjectId Constructor Description LogEntry(java.lang.String refName, long updateIndex, PersonIdent who, ObjectId oldId, ObjectId newId, java.lang.String message)
ObjEntry(int idLen, ObjectId id, LongList blockPos)
-
Uses of ObjectId in org.eclipse.jgit.internal.transport.connectivity
Fields in org.eclipse.jgit.internal.transport.connectivity with type parameters of type ObjectId Modifier and Type Field Description private java.util.Set<ObjectId>
IterativeConnectivityChecker. forcedHaves
Methods in org.eclipse.jgit.internal.transport.connectivity that return types with arguments of type ObjectId Modifier and Type Method Description private static java.util.Set<ObjectId>
IterativeConnectivityChecker. extractAdvertisedParentCommits(java.util.Set<ObjectId> newRefs, java.util.Set<ObjectId> advertisedHaves, RevWalk rw)
private static java.util.stream.Stream<ObjectId>
IterativeConnectivityChecker. getAllObjectIds(java.util.List<ReceiveCommand> commands)
Method parameters in org.eclipse.jgit.internal.transport.connectivity with type arguments of type ObjectId Modifier and Type Method Description void
FullConnectivityChecker. checkConnectivity(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, java.util.Set<ObjectId> haves, ProgressMonitor pm)
void
IterativeConnectivityChecker. checkConnectivity(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, java.util.Set<ObjectId> advertisedHaves, ProgressMonitor pm)
private static java.util.Set<ObjectId>
IterativeConnectivityChecker. extractAdvertisedParentCommits(java.util.Set<ObjectId> newRefs, java.util.Set<ObjectId> advertisedHaves, RevWalk rw)
private boolean
FullConnectivityChecker. markStartAndKnownNodes(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, ObjectWalk ow, java.util.Set<ObjectId> haves, ProgressMonitor pm)
void
IterativeConnectivityChecker. setForcedHaves(java.util.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 ObjectId Modifier and Type Interface Description interface
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.lib Modifier and Type Class Description static class
ObjectIdOwnerMap.Entry
Type of entry stored in theObjectIdOwnerMap
.Fields in org.eclipse.jgit.lib declared as ObjectId Modifier and Type Field Description static ObjectId
Constants. EMPTY_BLOB_ID
Well-known object ID for the empty blob.private static ObjectId[]
CommitBuilder. EMPTY_OBJECTID_LIST
static 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 ObjectId
ObjectIdRef. objectId
private ObjectId
RefUpdate. oldValue
Old value of the ref, obtained after we lock it.private ObjectId[]
CommitBuilder. parentIds
private ObjectId
ObjectIdRef.PeeledTag. peeledObjectId
(package private) V[]
ObjectIdSubclassMap. table
private ObjectId
CommitBuilder. treeId
private static ObjectId
ObjectId. ZEROID
Methods in org.eclipse.jgit.lib with type parameters of type ObjectId Modifier and Type Method Description <T extends ObjectId>
AsyncObjectSizeQueue<T>ObjectReader.Filter. getObjectSize(java.lang.Iterable<T> objectIds, boolean reportMissing)
<T extends ObjectId>
AsyncObjectSizeQueue<T>ObjectReader. getObjectSize(java.lang.Iterable<T> objectIds, boolean reportMissing)
Asynchronous object size lookup.<T extends ObjectId>
AsyncObjectLoaderQueue<T>ObjectReader.Filter. open(java.lang.Iterable<T> objectIds, boolean reportMissing)
<T extends ObjectId>
AsyncObjectLoaderQueue<T>ObjectReader. open(java.lang.Iterable<T> objectIds, boolean reportMissing)
Asynchronous object opening.Methods in org.eclipse.jgit.lib that return ObjectId Modifier and Type Method Description ObjectId
TreeFormatter. computeId(ObjectInserter ins)
Compute the ObjectId for this treeObjectId
AnyObjectId. copy()
Obtain an immutable copy of this current object name value.private V[]
ObjectIdSubclassMap. createArray(int sz)
private static ObjectId
ObjectId. fromHexString(byte[] bs, int p)
static ObjectId
ObjectId. fromRaw(byte[] bs)
Convert an ObjectId from raw binary representation.static ObjectId
ObjectId. fromRaw(byte[] bs, int p)
Convert an ObjectId from raw binary representation.static ObjectId
ObjectId. fromRaw(int[] is)
Convert an ObjectId from raw binary representation.static ObjectId
ObjectId. fromRaw(int[] is, int p)
Convert an ObjectId from raw binary representation.static ObjectId
ObjectId. fromString(byte[] buf, int offset)
Convert an ObjectId from hex characters (US-ASCII).static ObjectId
ObjectId. fromString(java.lang.String str)
Convert an ObjectId from hex characters.ObjectId
RefUpdate. getExpectedOldObjectId()
Get the expected value of the ref after the lock is taken, but before update occurs.ObjectId
ReflogEntry. getNewId()
Get the commit id after the changeObjectId
RefUpdate. getNewObjectId()
Get the new value the ref will be (or was) updated to.ObjectId
AsyncObjectLoaderQueue. getObjectId()
Get the ObjectId of the current object.ObjectId
AsyncObjectSizeQueue. getObjectId()
Get the ObjectId of the current object.abstract ObjectId
BitmapObject. getObjectId()
Get the name of this object.ObjectId
ObjectIdRef. getObjectId()
Cached value of this ref.ObjectId
Ref. getObjectId()
Cached value of this ref.ObjectId
SymbolicRef. getObjectId()
Cached value of this ref.ObjectId
TagBuilder. getObjectId()
Get the object this tag refers to.ObjectId
ReflogEntry. getOldId()
Get the commit id before the changeObjectId
RefUpdate. getOldObjectId()
The old value of the ref, prior to the update being attempted.ObjectId[]
CommitBuilder. getParentIds()
Get the ancestors of this commit.ObjectId
ObjectIdRef.PeeledNonTag. getPeeledObjectId()
ObjectId
ObjectIdRef.PeeledTag. getPeeledObjectId()
ObjectId
ObjectIdRef.Unpeeled. getPeeledObjectId()
ObjectId
Ref. getPeeledObjectId()
Cached value ofref^{}
(the ref peeled to commit).ObjectId
SymbolicRef. getPeeledObjectId()
Cached value ofref^{}
(the ref peeled to commit).ObjectId
CommitBuilder. getTreeId()
Get id of the root tree listing this commit's snapshot.private ObjectId
ObjectChecker. idFor(int objType, byte[] raw)
ObjectId
ObjectInserter.Filter. idFor(int type, byte[] data)
ObjectId
ObjectInserter.Filter. idFor(int type, byte[] data, int off, int len)
ObjectId
ObjectInserter.Filter. idFor(int objectType, long length, java.io.InputStream in)
ObjectId
ObjectInserter.Filter. idFor(TreeFormatter formatter)
ObjectId
ObjectInserter. idFor(int type, byte[] data)
Compute the name of an object, without inserting it.ObjectId
ObjectInserter. idFor(int type, byte[] data, int off, int len)
Compute the name of an object, without inserting it.ObjectId
ObjectInserter. idFor(int objectType, long length, java.io.InputStream in)
Compute the name of an object, without inserting it.ObjectId
ObjectInserter. idFor(TreeFormatter formatter)
Compute the ObjectId for the given tree without inserting it.ObjectId
ObjectInserter.Filter. insert(int type, byte[] data)
ObjectId
ObjectInserter.Filter. insert(int type, byte[] data, int off, int len)
ObjectId
ObjectInserter.Filter. insert(int objectType, long length, java.io.InputStream in)
ObjectId
ObjectInserter.Formatter. insert(int objectType, long length, java.io.InputStream in)
ObjectId
ObjectInserter. insert(int type, byte[] data)
Insert a single object into the store, returning its unique name.ObjectId
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, java.io.InputStream in)
Insert a single object into the store, returning its unique name.ObjectId
ObjectInserter. insert(CommitBuilder builder)
Insert a single commit into the store, returning its unique name.ObjectId
ObjectInserter. insert(TagBuilder builder)
Insert a single annotated tag into the store, returning its unique name.ObjectId
ObjectInserter. insert(TreeFormatter formatter)
Insert a single tree into the store, returning its unique name.ObjectId
TreeFormatter. insertTo(ObjectInserter ins)
Insert this tree and obtain its ObjectId.static ObjectId
ObjectIdSerializer. read(java.io.InputStream in)
Read a possibly nullObjectId
from the stream.ObjectId
Repository. readCherryPickHead()
Return the information stored in the file $GIT_DIR/CHERRY_PICK_HEAD.ObjectId
Repository. readOrigHead()
Return the information stored in the file $GIT_DIR/ORIG_HEAD.ObjectId
Repository. readRevertHead()
Return the information stored in the file $GIT_DIR/REVERT_HEAD.static ObjectId
ObjectIdSerializer. readWithoutMarker(java.io.InputStream in)
Read a non-nullObjectId
from the stream.ObjectId
Repository. resolve(java.lang.String revstr)
Parse a git revision string and return an object id.private ObjectId
Repository. resolveAbbreviation(java.lang.String revstr)
private ObjectId
Repository. resolveSimple(java.lang.String revstr)
ObjectId
AbbreviatedObjectId. toObjectId()
A complete ObjectId; null ifAbbreviatedObjectId.isComplete()
is falseabstract ObjectId
AnyObjectId. toObjectId()
Obtain an immutable copy of this current object name value.ObjectId
MutableObjectId. toObjectId()
Obtain an immutable copy of this current object name value.ObjectId
ObjectId. toObjectId()
Obtain an immutable copy of this current object name value.static ObjectId
ObjectId. zeroId()
Get the special all-null ObjectId.Methods in org.eclipse.jgit.lib that return types with arguments of type ObjectId Modifier and Type Method Description java.util.Set<ObjectId>
Repository. getAdditionalHaves()
Objects known to exist but not expressed byRepository.getAllRefs()
.java.util.Set<ObjectId>
ObjectReader.Filter. getShallowCommits()
abstract java.util.Set<ObjectId>
ObjectReader. getShallowCommits()
Returns IDs for those commits which should be considered as shallow.java.util.List<ObjectId>
Repository. readMergeHeads()
Return the information stored in the file $GIT_DIR/MERGE_HEAD.java.util.Collection<ObjectId>
ObjectReader.Filter. resolve(AbbreviatedObjectId id)
abstract java.util.Collection<ObjectId>
ObjectReader. resolve(AbbreviatedObjectId id)
Resolve an abbreviated ObjectId to its full form.Methods in org.eclipse.jgit.lib with parameters of type ObjectId Modifier and Type Method Description java.util.Set<Ref>
RefDatabase. getTipsWithSha1(ObjectId id)
Returns all refs that resolve directly to the givenObjectId
.private static boolean
BatchRefUpdate. isMissing(RevWalk walk, ObjectId id)
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 java.lang.String
ObjectId. toString(ObjectId i)
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 ObjectId Modifier and Type Method Description private void
Repository. writeHeadsFile(java.util.List<? extends ObjectId> heads, java.lang.String filename)
Write the given heads to a file in the git directory.void
Repository. writeMergeHeads(java.util.List<? extends ObjectId> heads)
Write new merge-heads into $GIT_DIR/MERGE_HEAD.Constructors in org.eclipse.jgit.lib with parameters of type ObjectId Constructor Description IndexDiff(Repository repository, ObjectId objectId, WorkingTreeIterator workingTreeIterator)
Construct an IndexdiffObjectIdRef(Ref.Storage st, java.lang.String name, ObjectId id, long updateIndex)
Create a new ref pairing.PeeledNonTag(Ref.Storage st, java.lang.String name, ObjectId id)
Create a new ref pairing.PeeledNonTag(Ref.Storage st, java.lang.String name, ObjectId id, long updateIndex)
Create a new ref pairing with update index.PeeledTag(Ref.Storage st, java.lang.String name, ObjectId id, ObjectId p)
Create a new ref pairing.PeeledTag(Ref.Storage st, java.lang.String name, ObjectId id, ObjectId p, long updateIndex)
Create a new ref pairing with update index.Unpeeled(Ref.Storage st, java.lang.String name, ObjectId id)
Create a new ref pairing.Unpeeled(Ref.Storage st, java.lang.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 ObjectId Modifier and Type Field Description private ObjectId
ThreeWayMerger. baseCommitId
protected ObjectId
ResolveMerger. resultTree
merge result as treeprivate ObjectId
StrategySimpleTwoWayInCore.InCoreMerger. resultTree
Methods in org.eclipse.jgit.merge that return ObjectId Modifier and Type Method Description abstract ObjectId
Merger. getBaseCommitId()
Get the ID of the commit that was used as merge base for mergingObjectId
StrategyOneSided.OneSide. getBaseCommitId()
ObjectId
ThreeWayMerger. getBaseCommitId()
Get the ID of the commit that was used as merge base for mergingabstract ObjectId
Merger. getResultTreeId()
Get resulting tree.ObjectId
ResolveMerger. getResultTreeId()
Get resulting tree.ObjectId
StrategyOneSided.OneSide. getResultTreeId()
ObjectId
StrategySimpleTwoWayInCore.InCoreMerger. getResultTreeId()
private ObjectId
ResolveMerger. insertMergeResult(TemporaryBuffer buf, Attributes attributes)
Methods in org.eclipse.jgit.merge with parameters of type ObjectId Modifier and Type Method Description private RevCommit
RecursiveMerger. createCommitForTree(ObjectId tree, java.util.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.notes Modifier and Type Class Description (package private) class
NonNoteEntry
A tree entry found in a note branch that isn't a valid note.class
Note
In-memory representation of a single note attached to one object.Fields in org.eclipse.jgit.notes declared as ObjectId Modifier and Type Field Description private ObjectId
Note. data
private ObjectId
FanoutBucket.LazyNoteBucket. treeId
Methods in org.eclipse.jgit.notes that return ObjectId Modifier and Type Method Description ObjectId
NoteMap. get(AnyObjectId id)
Lookup a note for a specific ObjectId.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)
ObjectId
NoteMap. writeTree(ObjectInserter inserter)
Write this note map as a tree.Methods in org.eclipse.jgit.notes with parameters of type ObjectId Modifier and Type Method Description private void
NoteMap. load(ObjectId rootTree)
(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
FanoutBucket. setBucket(int cell, ObjectId id)
(package private) void
Note. setData(ObjectId newData)
Constructors in org.eclipse.jgit.notes with parameters of type ObjectId Constructor Description LazyNoteBucket(ObjectId treeId)
Note(AnyObjectId noteOn, ObjectId noteData)
A Git note about the object referenced bynoteOn
.NoteParser(AbbreviatedObjectId prefix, ObjectReader r, ObjectId t)
-
Uses of ObjectId in org.eclipse.jgit.pgm
Fields in org.eclipse.jgit.pgm declared as ObjectId Modifier and Type Field Description private ObjectId
Tag. object
private ObjectId
Archive. tree
private ObjectId
Describe. tree
Fields in org.eclipse.jgit.pgm with type parameters of type ObjectId Modifier and Type Field Description private java.util.List<ObjectId>
RevParse. commits
Methods in org.eclipse.jgit.pgm that return ObjectId Modifier and Type Method Description (package private) ObjectId
TextBuiltin. resolve(java.lang.String s)
Methods in org.eclipse.jgit.pgm with parameters of type ObjectId Modifier and Type Method Description private static java.lang.String
AbstractFetchCommand. safeAbbreviate(ObjectReader reader, ObjectId id)
private static java.lang.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 ObjectId Modifier and Type Field Description (package private) ObjectId
RebuildCommitGraph.ToRewrite. newId
(package private) ObjectId
WriteReftable.LogEntry. newId
private ObjectId
ShowPackDelta. objectId
(package private) ObjectId
RebuildCommitGraph.ToRewrite. oldId
(package private) ObjectId
WriteReftable.LogEntry. oldId
(package private) ObjectId[]
RebuildCommitGraph.ToRewrite. oldParents
Fields in org.eclipse.jgit.pgm.debug with type parameters of type ObjectId Modifier and Type Field Description private java.util.Map<ObjectId,ObjectId>
RebuildCommitGraph. rewrites
private java.util.Map<ObjectId,ObjectId>
RebuildCommitGraph. rewrites
Methods in org.eclipse.jgit.pgm.debug that return ObjectId Modifier and Type Method Description private static ObjectId
WriteReftable. parseId(java.lang.String s)
Methods in org.eclipse.jgit.pgm.debug that return types with arguments of type ObjectId Modifier and Type Method Description private static java.util.Map<ObjectId,java.util.List<Ref>>
VerifyReftable. groupById(java.util.List<Ref> refs)
Methods in org.eclipse.jgit.pgm.debug with parameters of type ObjectId Modifier and Type Method Description private void
BenchmarkReftable. byIdCold(ObjectId id)
private void
BenchmarkReftable. byIdHot(ObjectId id)
private static java.lang.String
VerifyReftable. id(ObjectId id)
Constructors in org.eclipse.jgit.pgm.debug with parameters of type ObjectId Constructor Description LogEntry(java.lang.String ref, long updateIndex, PersonIdent who, ObjectId oldId, ObjectId newId, java.lang.String message)
ToRewrite(ObjectId o, long t, ObjectId[] p)
-
Uses of ObjectId in org.eclipse.jgit.pgm.opt
Constructor parameters in org.eclipse.jgit.pgm.opt with type arguments of type ObjectId Constructor Description ObjectIdHandler(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.revplot Modifier and Type Class Description class
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.revwalk Modifier and Type Class Description static class
DepthWalk.Commit
RevCommit with a depth (in commits) from a root.class
RevBlob
A binary file, or a symbolic link.class
RevCommit
A commit reference to a commit in the DAG.class
RevObject
Base object type accessed during revision walking.class
RevTag
An annotated tag.class
RevTree
A reference to a tree of subtrees/files.Fields in org.eclipse.jgit.revwalk with type parameters of type ObjectId Modifier and Type Field Description private java.util.List<ObjectId>
DepthWalk.ObjectWalk. deepenNots
private java.util.List<ObjectId>
DepthWalk.RevWalk. deepenNots
Methods in org.eclipse.jgit.revwalk with type parameters of type ObjectId Modifier and Type Method Description <T extends ObjectId>
AsyncRevObjectQueueRevWalk. parseAny(java.lang.Iterable<T> objectIds, boolean reportMissing)
Asynchronous object parsing.Methods in org.eclipse.jgit.revwalk that return ObjectId Modifier and Type Method Description ObjectId
RevObject. getId()
Get the name of this object.Methods in org.eclipse.jgit.revwalk that return types with arguments of type ObjectId Modifier and Type Method Description default java.util.List<ObjectId>
DepthWalk. getDeepenNots()
java.util.List<ObjectId>
DepthWalk.ObjectWalk. getDeepenNots()
java.util.List<ObjectId>
DepthWalk.RevWalk. getDeepenNots()
Methods in org.eclipse.jgit.revwalk with parameters of type ObjectId Modifier and Type Method Description private void
TreeRevFilter. updateFollowFilter(ObjectId[] trees, DiffConfig cfg)
Method parameters in org.eclipse.jgit.revwalk with type arguments of type ObjectId Modifier and Type Method Description void
RevWalk. assumeShallow(java.util.Collection<? extends ObjectId> ids)
Assume additional commits are shallow (have no parents).BitmapIndex.BitmapBuilder
BitmapWalker. findObjects(java.lang.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(java.lang.Iterable<? extends ObjectId> start, BitmapIndex.BitmapBuilder seen, boolean ignoreMissingStart)
void
DepthWalk.RevWalk. setDeepenNots(java.util.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 ObjectId Modifier and Type Field Description private ObjectId
FileBasedConfig. hash
Methods in org.eclipse.jgit.storage.file that return ObjectId Modifier and Type Method Description private static ObjectId
FileBasedConfig. hash(byte[] rawText)
-
Uses of ObjectId in org.eclipse.jgit.storage.pack
Fields in org.eclipse.jgit.storage.pack with type parameters of type ObjectId Modifier and Type Field Description java.util.Set<ObjectId>
PackStatistics.Accumulator. clientShallowCommits
The set of shallow commits on the client.java.util.Set<ObjectId>
PackStatistics.Accumulator. interestingObjects
The set of objects to be included in the pack.java.util.Set<ObjectId>
PackStatistics.Accumulator. rootCommits
Commits with no parents.java.util.Set<ObjectId>
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 ObjectId Modifier and Type Method Description java.util.Set<ObjectId>
PackStatistics. getClientShallowCommits()
Get unmodifiable collection of objects that were shallow commits on the client.java.util.Set<ObjectId>
PackStatistics. getInterestingObjects()
Get unmodifiable collection of objects to be included in the pack.java.util.Set<ObjectId>
PackStatistics. getRootCommits()
Get unmodifiable collection of the root commits of the history.java.util.Set<ObjectId>
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 ObjectId Modifier and Type Field Description private ObjectId
SubmoduleStatus. headId
private ObjectId
SubmoduleStatus. indexId
private ObjectId
SubmoduleConflict. objectId
Methods in org.eclipse.jgit.submodule that return ObjectId Modifier and Type Method Description ObjectId
SubmoduleWalk. getHead()
Get commit id that HEAD points to in the current submodule's repositoryObjectId
SubmoduleStatus. getHeadId()
Get HEAD object idObjectId
SubmoduleStatus. getIndexId()
Get index object idObjectId
SubmoduleConflict. getObjectId()
ObjectId
SubmoduleWalk. getObjectId()
Get object id of current submodule entryConstructors in org.eclipse.jgit.submodule with parameters of type ObjectId Constructor Description SubmoduleConflict(ObjectId objectId)
Create a SubmoduleConflict for the given submodule object idSubmoduleStatus(SubmoduleStatusType type, java.lang.String path, ObjectId indexId)
Create submodule statusSubmoduleStatus(SubmoduleStatusType type, java.lang.String path, ObjectId indexId, ObjectId headId)
Create submodule status -
Uses of ObjectId in org.eclipse.jgit.transport
Subclasses of ObjectId in org.eclipse.jgit.transport Modifier and Type Class Description class
PackedObjectInfo
Description of an object stored in a pack file, including offset.private static class
PackParser.DeltaChain
Fields in org.eclipse.jgit.transport declared as ObjectId Modifier and Type Field Description private ObjectId
RemoteRefUpdate. expectedOldObjectId
(package private) ObjectId
PackParser.DeltaVisit. id
private ObjectId
ReceiveCommand. newId
private ObjectId
RemoteRefUpdate. newObjectId
(package private) ObjectId
TrackingRefUpdate. newObjectId
(package private) ObjectId
FetchHeadRecord. newValue
private ObjectId
ReceiveCommand. oldId
(package private) ObjectId
TrackingRefUpdate. oldObjectId
Fields in org.eclipse.jgit.transport with type parameters of type ObjectId Modifier and Type Field Description protected java.util.Set<ObjectId>
BasePackConnection. additionalHaves
Extra objects the remote has, but which aren't offered as refs.private java.util.Set<ObjectId>
UploadPack. advertised
Objects we sent in our advertisement list.private java.util.Set<ObjectId>
ReceivePack. advertisedHaves
All SHA-1s shown to the client, which can be possible edges.private java.util.HashMap<ObjectId,Ref>
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.(package private) java.util.Set<ObjectId>
FetchRequest. clientShallowCommits
(package private) java.util.Set<ObjectId>
FetchV0Request.Builder. clientShallowCommits
(package private) java.util.Set<ObjectId>
FetchV2Request.Builder. clientShallowCommits
private java.util.Set<ObjectId>
ReceivePack. clientShallowCommits
private java.util.HashMap<ObjectId,java.util.List<java.lang.Throwable>>
WalkFetchConnection. fetchErrors
Errors received while trying to obtain an object.private java.util.HashSet<ObjectId>
FetchProcess. have
Objects we know we have locally.private java.util.Map<java.lang.String,ObjectId>
BundleWriter. include
private ObjectIdSubclassMap<ObjectId>
PackParser. newObjectIds
Every object contained within the incoming pack.private java.util.List<ObjectId>
ObjectInfoRequest.Builder. objectIDs
private java.util.List<ObjectId>
ObjectInfoRequest. objectIDs
(package private) java.util.List<ObjectId>
FetchV2Request.Builder. peerHas
private java.util.List<ObjectId>
FetchV2Request. peerHas
(package private) java.util.Map<ObjectId,java.lang.String>
BundleFetchConnection. prereqs
private java.util.Set<ObjectId>
RefAdvertiser. sent
private java.util.Set<ObjectId>
BundleWriter. tagTargets
(package private) java.util.Set<ObjectId>
FetchRequest. wantIds
(package private) java.util.Set<ObjectId>
FetchV0Request.Builder. wantIds
(package private) java.util.Set<ObjectId>
FetchV2Request.Builder. wantIds
private java.util.Set<ObjectId>
UploadPack. wantIds
Raw ObjectIds the client has asked for, before validating them.private java.util.LinkedList<ObjectId>
WalkFetchConnection. workQueue
Objects we need to copy from the remote repository.Methods in org.eclipse.jgit.transport that return ObjectId Modifier and Type Method Description ObjectId
RemoteRefUpdate. getExpectedOldObjectId()
Get expected old object idObjectId
ReceiveCommand. getNewId()
Get the requested new value for this ref.ObjectId
RemoteRefUpdate. getNewObjectId()
Get new object idObjectId
TrackingRefUpdate. getNewObjectId()
Get the new value the ref will be (or was) updated to.ObjectId
ReceiveCommand. getOldId()
Get the old value the client thinks the ref has.ObjectId
TrackingRefUpdate. getOldObjectId()
The old value of the ref, prior to the update being attempted.private ObjectId
UploadPack. processHaveLines(java.util.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
BasePackConnection. toId(java.lang.String line, java.lang.String value)
private ObjectId
PushCertificateStore. write()
Methods in org.eclipse.jgit.transport that return types with arguments of type ObjectId Modifier and Type Method Description protected java.util.Set<ObjectId>
AbstractAdvertiseRefsHook. getAdvertisedHaves(Repository repository, RevWalk revWalk)
Get the additional haves to advertise.java.util.Set<ObjectId>
ReceivePack. getAdvertisedObjects()
Get objects advertised to the client.ObjectIdSubclassMap<ObjectId>
PackParser. getBaseObjectIds()
Get set of objects the incoming pack assumed for delta purposes(package private) java.util.Set<ObjectId>
FetchRequest. getClientShallowCommits()
Shallow commits the client already has.private java.util.Set<ObjectId>
ReceivePack. getClientShallowCommits()
Get the commits from the client's shallow file.ObjectIdSubclassMap<ObjectId>
PackParser. getNewObjectIds()
Get the new objects that were sent by the userjava.util.List<ObjectId>
ObjectInfoRequest. getObjectIDs()
(package private) java.util.List<ObjectId>
FetchV2Request. getPeerHas()
(package private) java.util.Set<ObjectId>
FetchRequest. getWantIds()
private static java.util.Set<ObjectId>
UploadPack. refIdSet(java.util.Collection<Ref> refs)
java.util.Set<ObjectId>
RefAdvertiser. send(java.util.Collection<Ref> refs)
Format an advertisement for the supplied refs.java.util.Set<ObjectId>
RefAdvertiser. send(java.util.Map<java.lang.String,Ref> refs)
Deprecated.useRefAdvertiser.send(Collection)
instead.private java.util.Iterator<ObjectId>
WalkFetchConnection. swapFetchQueue()
private java.util.Map<java.lang.String,ObjectId>
UploadPack. wantedRefs(FetchV2Request req)
Methods in org.eclipse.jgit.transport with parameters of type ObjectId Modifier and Type Method Description (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
FetchV0Request.Builder. addWantId(ObjectId objectId)
(package private) FetchV2Request.Builder
FetchV2Request.Builder. addWantId(ObjectId wantId)
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
ReceiveCommand. link(ObjectId oldId, java.lang.String newTarget, java.lang.String name)
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
WalkFetchConnection. process(ObjectId id)
private ObjectId
UploadPack. processHaveLines(java.util.List<ObjectId> peerHas, ObjectId last, PacketLineOut out, PackStatistics.Accumulator accumulator, UploadPack.Option option)
private void
BasePackConnection. processLineV1(java.lang.String name, ObjectId id, java.util.Map<java.lang.String,Ref> avail)
private void
BasePackConnection. processLineV2(java.lang.String line, ObjectId id, java.lang.String rest, java.util.Map<java.lang.String,Ref> avail, java.util.Map<java.lang.String,java.lang.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
ReceiveCommand. unlink(java.lang.String oldTarget, ObjectId newId, java.lang.String name)
Create a command to switch a reference from symbolic to object.private RefUpdate.Result
PushCertificateStore. updateRef(ObjectId newId)
private void
FetchProcess. want(ObjectId id)
(package private) void
WalkRemoteObjectDatabase. writeRef(java.lang.String name, ObjectId value)
Overwrite (or create) a loose ref in the remote repository.Method parameters in org.eclipse.jgit.transport with type arguments of type ObjectId Modifier and Type Method Description void
ConnectivityChecker. checkConnectivity(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, java.util.Set<ObjectId> haves, ProgressMonitor pm)
Checks connectivity of the commit graph after pack uploading.private static void
UploadPack. checkNotAdvertisedWants(UploadPack up, java.util.List<ObjectId> notAdvertisedWants, java.util.Collection<Ref> visibleRefs)
void
UploadPack.AdvertisedRequestValidator. checkWants(UploadPack up, java.util.List<ObjectId> wants)
void
UploadPack.AnyRequestValidator. checkWants(UploadPack up, java.util.List<ObjectId> wants)
void
UploadPack.ReachableCommitRequestValidator. checkWants(UploadPack up, java.util.List<ObjectId> wants)
void
UploadPack.ReachableCommitTipRequestValidator. checkWants(UploadPack up, java.util.List<ObjectId> wants)
void
UploadPack.RequestValidator. checkWants(UploadPack up, java.util.List<ObjectId> wants)
Check a list of client wants against the request policy.void
UploadPack.TipRequestValidator. checkWants(UploadPack up, java.util.List<ObjectId> wants)
private void
UploadPack. computeShallowsAndUnshallows(FetchRequest req, UploadPack.IOConsumer<ObjectId> shallowFunc, UploadPack.IOConsumer<ObjectId> unshallowFunc, java.util.List<ObjectId> deepenNots)
private void
UploadPack. computeShallowsAndUnshallows(FetchRequest req, UploadPack.IOConsumer<ObjectId> shallowFunc, UploadPack.IOConsumer<ObjectId> unshallowFunc, java.util.List<ObjectId> deepenNots)
protected abstract void
BaseFetchConnection. doFetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have)
Implementation ofBaseFetchConnection.fetch(ProgressMonitor, Collection, Set)
without checking for multiple fetch.protected void
BasePackFetchConnection. doFetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have, java.io.OutputStream outputStream)
Execute common ancestor negotiation and fetch the objects.protected void
BundleFetchConnection. doFetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have)
Implementation ofBaseFetchConnection.fetch(ProgressMonitor, Collection, Set)
without checking for multiple fetch.protected void
TransportHttp.SmartHttpFetchConnection. doFetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have, java.io.OutputStream outputStream)
protected void
WalkFetchConnection. doFetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have)
Implementation ofBaseFetchConnection.fetch(ProgressMonitor, Collection, Set)
without checking for multiple fetch.void
BaseFetchConnection. fetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have)
Fetch objects we don't have but that are reachable from advertised refs.void
BaseFetchConnection. fetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have, java.io.OutputStream out)
Fetch objects we don't have but that are reachable from advertised refs.void
BasePackFetchConnection. fetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have)
Fetch objects we don't have but that are reachable from advertised refs.void
BasePackFetchConnection. fetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have, java.io.OutputStream outputStream)
Fetch objects we don't have but that are reachable from advertised refs.void
FetchConnection. fetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have)
Fetch objects we don't have but that are reachable from advertised refs.void
FetchConnection. fetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have, java.io.OutputStream out)
Fetch objects we don't have but that are reachable from advertised refs.private void
WalkFetchConnection. markLocalRefsComplete(java.util.Set<ObjectId> have)
private void
BasePackFetchConnection. markReachable(java.util.Set<ObjectId> have, int maxTime)
private static java.util.List<RevObject>
UploadPack. objectIdsToRevObjects(RevWalk walk, java.lang.Iterable<ObjectId> objectIds)
void
PreUploadHook. onBeginNegotiateRound(UploadPack up, java.util.Collection<? extends ObjectId> wants, int cntOffered)
Invoked before negotiation round is started.void
PreUploadHookChain. onBeginNegotiateRound(UploadPack up, java.util.Collection<? extends ObjectId> wants, int cntOffered)
Invoked before negotiation round is started.void
PreUploadHook. onEndNegotiateRound(UploadPack up, java.util.Collection<? extends ObjectId> wants, int cntCommon, int cntNotFound, boolean ready)
Invoked after a negotiation round is completed.void
PreUploadHookChain. onEndNegotiateRound(UploadPack up, java.util.Collection<? extends ObjectId> wants, int cntCommon, int cntNotFound, boolean ready)
Invoked after a negotiation round is completed.void
PreUploadHook. onSendPack(UploadPack up, java.util.Collection<? extends ObjectId> wants, java.util.Collection<? extends ObjectId> haves)
Invoked just before a pack will be sent to the client.void
PreUploadHookChain. onSendPack(UploadPack up, java.util.Collection<? extends ObjectId> wants, java.util.Collection<? extends ObjectId> haves)
Invoked just before a pack will be sent to the client.private ObjectId
UploadPack. processHaveLines(java.util.List<ObjectId> peerHas, ObjectId last, PacketLineOut out, PackStatistics.Accumulator accumulator, UploadPack.Option option)
private void
UploadPack. sendPack(ProgressMonitor pm, PacketLineOut pckOut, java.io.OutputStream packOut, FetchRequest req, PackStatistics.Accumulator accumulator, java.util.Collection<Ref> allTags, java.util.List<ObjectId> unshallowCommits, java.util.List<ObjectId> deepenNots)
Send the requested objects to the client.private void
UploadPack. sendPack(PackStatistics.Accumulator accumulator, FetchRequest req, java.util.Collection<Ref> allTags, java.util.List<ObjectId> unshallowCommits, java.util.List<ObjectId> deepenNots, PacketLineOut pckOut)
Send the requested objects to the client.void
ReceivePack. setAdvertisedRefs(java.util.Map<java.lang.String,Ref> allRefs, java.util.Set<ObjectId> additionalHaves)
Set the refs advertised by this ReceivePack.ObjectInfoRequest.Builder
ObjectInfoRequest.Builder. setObjectIDs(java.util.List<ObjectId> value)
private boolean
UploadPack. shouldGiveUp(java.util.List<ObjectId> peerHas, PacketLineOut out, int missCnt)
private void
UploadPack. verifyClientShallow(java.util.Set<ObjectId> shallowCommits)
Constructors in org.eclipse.jgit.transport with parameters of type ObjectId Constructor Description ReceiveCommand(java.lang.String oldSymref, ObjectId newId, java.lang.String name)
Create a command to switch a reference from symbolic to object.ReceiveCommand(ObjectId oldId, java.lang.String newSymref, java.lang.String name)
Create a command to switch a reference from object to symbolic.ReceiveCommand(ObjectId oldId, ObjectId newId, java.lang.String name)
Create a new command forReceivePack
.ReceiveCommand(ObjectId oldId, ObjectId newId, java.lang.String name, ReceiveCommand.Type type)
Create a new command forReceivePack
.RemoteRefUpdate(Repository localDb, java.lang.String srcRef, java.lang.String remoteName, boolean forceUpdate, java.lang.String localName, ObjectId expectedOldObjectId)
Construct remote ref update request by providing an update specification.RemoteRefUpdate(Repository localDb, java.lang.String srcRef, ObjectId srcId, java.lang.String remoteName, boolean forceUpdate, java.lang.String localName, java.util.Collection<RefSpec> fetchSpecs, ObjectId expectedOldObjectId)
RemoteRefUpdate(Repository localDb, java.lang.String srcRef, ObjectId srcId, java.lang.String remoteName, boolean forceUpdate, java.lang.String localName, ObjectId expectedOldObjectId)
Construct remote ref update request by providing an update specification.RemoteRefUpdate(Repository localDb, Ref srcRef, java.lang.String remoteName, boolean forceUpdate, java.lang.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 ObjectId Constructor Description FetchRequest(java.util.Set<ObjectId> wantIds, int depth, java.util.Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, java.util.Set<java.lang.String> clientCapabilities, int deepenSince, java.util.List<java.lang.String> deepenNotRefs, java.lang.String agent)
Initialize the common fields of a fetch request.FetchV0Request(java.util.Set<ObjectId> wantIds, int depth, java.util.Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, java.util.Set<java.lang.String> clientCapabilities, java.lang.String agent)
FetchV2Request(java.util.List<ObjectId> peerHas, java.util.List<java.lang.String> wantedRefs, java.util.Set<ObjectId> wantIds, java.util.Set<ObjectId> clientShallowCommits, int deepenSince, java.util.List<java.lang.String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, boolean waitForDone, java.util.Set<java.lang.String> clientCapabilities, java.lang.String agent, java.util.List<java.lang.String> serverOptions, boolean sidebandAll, java.util.List<java.lang.String> packfileUriProtocols)
FetchV2Request(java.util.List<ObjectId> peerHas, java.util.List<java.lang.String> wantedRefs, java.util.Set<ObjectId> wantIds, java.util.Set<ObjectId> clientShallowCommits, int deepenSince, java.util.List<java.lang.String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, boolean waitForDone, java.util.Set<java.lang.String> clientCapabilities, java.lang.String agent, java.util.List<java.lang.String> serverOptions, boolean sidebandAll, java.util.List<java.lang.String> packfileUriProtocols)
ObjectInfoRequest(java.util.List<ObjectId> objectIDs)
-
Uses of ObjectId in org.eclipse.jgit.treewalk
Methods in org.eclipse.jgit.treewalk that return ObjectId Modifier and Type Method Description ObjectId
AbstractTreeIterator. getEntryObjectId()
Get the object id of the current entry.ObjectId
EmptyTreeIterator. getEntryObjectId()
Get the object id of the current entry.ObjectId
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 ObjectId Modifier and Type Method Description static ObjectId
ChangeIdUtil. computeChangeId(ObjectId treeId, ObjectId firstParentId, PersonIdent author, PersonIdent committer, java.lang.String message)
Compute a Change-Id.Methods in org.eclipse.jgit.util with parameters of type ObjectId Modifier and Type Method Description static ObjectId
ChangeIdUtil. computeChangeId(ObjectId treeId, ObjectId firstParentId, PersonIdent author, PersonIdent committer, java.lang.String message)
Compute a Change-Id.static java.lang.String
ChangeIdUtil. insertId(java.lang.String message, ObjectId changeId)
Find the right place to insert a Change-Id and return it.static java.lang.String
ChangeIdUtil. insertId(java.lang.String message, ObjectId changeId, boolean replaceExisting)
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 ObjectId Modifier and Type Method Description (package private) ObjectId
SHA1.State. toObjectId()
ObjectId
SHA1. toObjectId()
Finish the digest and return the resulting hash.Constructors in org.eclipse.jgit.util.sha1 with parameters of type ObjectId Constructor Description Sha1CollisionException(ObjectId id)
Initialize with default message.
-