Uses of Class
org.eclipse.jgit.lib.AnyObjectId
Packages that use AnyObjectId
Package
Description
High-level API commands (the porcelain of JGit).
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).
Filters for use in revision walking.
Git submodule support.
Transport (fetch/push) for different protocols.
Walking and comparing directory/file trees (of commits, file system).
-
Uses of AnyObjectId in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api with parameters of type AnyObjectIdModifier and TypeMethodDescriptionLogCommand.add
(AnyObjectId start) Mark a commit to start graph traversal from.LogCommand.addRange
(AnyObjectId since, AnyObjectId until) Adds the rangesince..until
void
CloneCommand.Callback.checkingOut
(AnyObjectId commit, String path) Notify checkout of commitCherryPickCommand.include
(String name, AnyObjectId commit) Include a commitCherryPickCommand.include
(AnyObjectId commit) Include a commitMergeCommand.include
(String name, AnyObjectId aCommit) Include a commitMergeCommand.include
(AnyObjectId aCommit) Id of a commit which is to be merged with the current headRevertCommand.include
(String name, AnyObjectId commit) Include a commit to be revertedRevertCommand.include
(AnyObjectId commit) Include a commit to be revertedLogCommand.not
(AnyObjectId start) Same as--not start
, or^start
BlameCommand.reverse
(AnyObjectId start, Collection<ObjectId> end) Configure the generator to compute reverse blame (history of deletes).BlameCommand.reverse
(AnyObjectId start, AnyObjectId end) Configure the command to compute reverse blame (history of deletes).ListTagCommand.setContains
(AnyObjectId commit) Only list tags which contain the specified commit.BlameCommand.setStartCommit
(AnyObjectId commit) Set start commit idRebaseCommand.setUpstream
(AnyObjectId upstream) Set the upstream commit -
Uses of AnyObjectId in org.eclipse.jgit.blame
Methods in org.eclipse.jgit.blame with parameters of type AnyObjectIdModifier and TypeMethodDescriptionBlameGenerator.push
(String description, AnyObjectId id) Push a candidate object onto the generator's traversal stack.BlameGenerator.reverse
(AnyObjectId start, Collection<? extends ObjectId> end) Configure the generator to compute reverse blame (history of deletes).BlameGenerator.reverse
(AnyObjectId start, AnyObjectId end) Configure the generator to compute reverse blame (history of deletes). -
Uses of AnyObjectId in org.eclipse.jgit.diff
Methods in org.eclipse.jgit.diff with parameters of type AnyObjectIdModifier and TypeMethodDescriptionvoid
DiffFormatter.format
(AnyObjectId a, AnyObjectId b) Format the differences between two trees.DiffFormatter.scan
(AnyObjectId a, AnyObjectId b) Determine the differences between two trees. -
Uses of AnyObjectId in org.eclipse.jgit.dircache
Methods in org.eclipse.jgit.dircache with parameters of type AnyObjectIdModifier and TypeMethodDescriptionvoid
DirCacheBuilder.addTree
(byte[] pathPrefix, int stage, ObjectReader reader, AnyObjectId tree) Recursively add an entire tree into this builder.static DirCache
DirCache.read
(ObjectReader reader, AnyObjectId treeId) Create a new in memory index read from the contents of a tree.void
DirCacheEntry.setObjectId
(AnyObjectId id) Set the ObjectId for the entry. -
Uses of AnyObjectId in org.eclipse.jgit.errors
Methods in org.eclipse.jgit.errors with parameters of type AnyObjectIdModifier and TypeMethodDescriptionvoid
LargeObjectException.setObjectId
(AnyObjectId id) Set the identity of the object, if its not already set.Constructors in org.eclipse.jgit.errors with parameters of type AnyObjectIdModifierConstructorDescriptionCorruptObjectException
(AnyObjectId id, String why) Construct a CorruptObjectException for reporting a problem specified object idCorruptObjectException
(ObjectChecker.ErrorType type, AnyObjectId id, String why) Report a specific error condition discovered in an object.Create a large object exception, naming the object that is too big. -
Uses of AnyObjectId in org.eclipse.jgit.internal.fsck
Methods in org.eclipse.jgit.internal.fsck with parameters of type AnyObjectIdModifier and TypeMethodDescriptionprotected void
FsckPackParser.onBeginRefDelta
(long deltaStreamPosition, AnyObjectId baseId, long inflatedSize) protected void
FsckPackParser.verifySafeObject
(AnyObjectId id, int type, byte[] data) -
Uses of AnyObjectId in org.eclipse.jgit.internal.revwalk
Constructors in org.eclipse.jgit.internal.revwalk with parameters of type AnyObjectIdModifierConstructorDescriptionAddToBitmapWithCacheFilter
(AnyObjectId cachedCommit, BitmapIndex.Bitmap cachedBitmap, BitmapIndex.BitmapBuilder bitmap) Create a filter with a cached BitmapCommit that adds visited commits to the given bitmap. -
Uses of AnyObjectId in org.eclipse.jgit.internal.storage.commitgraph
Methods in org.eclipse.jgit.internal.storage.commitgraph with parameters of type AnyObjectIdModifier and TypeMethodDescriptionint
CommitGraph.findGraphPosition
(AnyObjectId commit) Find the position in the commit-graph of the commit. -
Uses of AnyObjectId in org.eclipse.jgit.internal.storage.dfs
Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type AnyObjectIdModifier and TypeMethodDescriptionlong
DfsReader.getObjectSize
(AnyObjectId objectId, int typeHint) boolean
DfsObjDatabase.has
(AnyObjectId objectId, boolean avoidUnreachableObjects) Does the requested object exist in this database?boolean
DfsReader.has
(AnyObjectId objectId) boolean
DfsPackFile.hasObject
(DfsReader ctx, AnyObjectId id) Check if an object is stored within this pack.boolean
DfsReader.isNotLargerThan
(AnyObjectId objectId, int typeHint, long limit) org.eclipse.jgit.internal.storage.dfs.DfsObjectToPack
DfsReader.newObjectToPack
(AnyObjectId objectId, int type) protected void
DfsPackParser.onBeginRefDelta
(long streamPosition, AnyObjectId baseId, long inflatedSize) DfsReader.open
(AnyObjectId objectId, int typeHint) -
Uses of AnyObjectId in org.eclipse.jgit.internal.storage.file
Subclasses of AnyObjectId in org.eclipse.jgit.internal.storage.fileModifier and TypeClassDescriptionstatic final class
An entry in the old PackBitmapIndex.Methods in org.eclipse.jgit.internal.storage.file with parameters of type AnyObjectIdModifier and TypeMethodDescriptionvoid
PackBitmapIndexBuilder.addBitmap
(AnyObjectId objectId, com.googlecode.javaewah.EWAHCompressedBitmap bitmap, int flags) Stores the bitmap for the objectId.void
PackBitmapIndexBuilder.addBitmap
(AnyObjectId objectId, BitmapIndex.Bitmap bitmap, int flags) Stores the bitmap for the objectId.boolean
LazyObjectIdSetFile.contains
(AnyObjectId objectId) boolean
PackIndex.contains
(AnyObjectId id) ObjectDirectory.fileFor
(AnyObjectId objectId) Compute the location of a loose object file.abstract long
PackIndex.findCRC32
(AnyObjectId objId) Retrieve stored CRC32 checksum of the requested object raw-data (including header).abstract long
PackIndex.findOffset
(AnyObjectId objId) Locate the file offset position for the requested object.abstract int
PackBitmapIndex.findPosition
(AnyObjectId objectId) Finds the position in the bitmap of the object.int
PackBitmapIndexBuilder.findPosition
(AnyObjectId objectId) int
PackBitmapIndexRemapper.findPosition
(AnyObjectId objectId) abstract int
PackIndex.findPosition
(AnyObjectId objId) Locate the position of this id in the list of object-ids in the indexBitmapIndexImpl.getBitmap
(AnyObjectId objectId) abstract com.googlecode.javaewah.EWAHCompressedBitmap
PackBitmapIndex.getBitmap
(AnyObjectId objectId) Returns the previously constructed bitmap for the object.com.googlecode.javaewah.EWAHCompressedBitmap
PackBitmapIndexRemapper.getBitmap
(AnyObjectId objectId) boolean
ObjectDirectory.has
(AnyObjectId objectId) boolean
Pack.hasObject
(AnyObjectId id) Determine if an object is contained within the pack file.boolean
PackIndex.hasObject
(AnyObjectId id) Determine if an object is contained within the pack file.protected void
ObjectDirectoryPackParser.onBeginRefDelta
(long streamPosition, AnyObjectId baseId, long inflatedSize) static ObjectLoader
UnpackedObject.parse
(byte[] raw, AnyObjectId id) Parse an object from the unpacked object format. -
Uses of AnyObjectId in org.eclipse.jgit.internal.storage.pack
Subclasses of AnyObjectId in org.eclipse.jgit.internal.storage.packModifier and TypeClassDescriptionfinal class
A commit object for which a bitmap index should be built.class
Per-object state used byPackWriter
.Methods in org.eclipse.jgit.internal.storage.pack with parameters of type AnyObjectIdModifier and TypeMethodDescriptionPackWriter.get
(AnyObjectId id) Lookup the ObjectToPack object for a given ObjectId.static BitmapCommit.Builder
BitmapCommit.newBuilder
(AnyObjectId objId) Get a builder of BitmapCommit whose object id isobjId
.ObjectReuseAsIs.newObjectToPack
(AnyObjectId objectId, int type) Allocate a newPackWriter
state structure for an object.BitmapCommit.Builder.setId
(AnyObjectId objectId) Set objectId of the builder.boolean
PackWriter.willInclude
(AnyObjectId id) Determine if the pack file will contain the requested object.Constructors in org.eclipse.jgit.internal.storage.pack with parameters of type AnyObjectIdModifierConstructorDescriptionObjectToPack
(AnyObjectId src, int type) Construct for the specified object id. -
Uses of AnyObjectId in org.eclipse.jgit.internal.storage.reftable
Methods in org.eclipse.jgit.internal.storage.reftable with parameters of type AnyObjectIdModifier and TypeMethodDescriptionMergedReftable.byObjectId
(AnyObjectId name) abstract RefCursor
Reftable.byObjectId
(AnyObjectId id) Match references pointing to a specific object.ReftableReader.byObjectId
(AnyObjectId id) boolean
Reftable.hasId
(AnyObjectId id) Test if any reference directly refers to the object. -
Uses of AnyObjectId in org.eclipse.jgit.lib
Subclasses of AnyObjectId in org.eclipse.jgit.libModifier and TypeClassDescriptionclass
A mutable SHA-1 abstraction.class
A SHA-1 abstraction.static class
Type of entry stored in theObjectIdOwnerMap
.Methods in org.eclipse.jgit.lib that return AnyObjectIdModifier and TypeMethodDescriptionGitmoduleEntry.getBlobId()
Get Id of a .gitmodules file found in the packGitmoduleEntry.getTreeId()
Get Id of a tree object where the .gitmodules file was foundMethods in org.eclipse.jgit.lib that return types with arguments of type AnyObjectIdModifier and TypeMethodDescriptionMap<AnyObjectId,
Set<Ref>> Repository.getAllRefsByPeeledObjectId()
Get a map with all objects referenced by a peeled ref.Methods in org.eclipse.jgit.lib with parameters of type AnyObjectIdModifier and TypeMethodDescriptionObjectReader.abbreviate
(AnyObjectId objectId) Obtain a unique abbreviation (prefix) of an object SHA-1.ObjectReader.abbreviate
(AnyObjectId objectId, int len) Obtain a unique abbreviation (prefix) of an object SHA-1.ObjectReader.Filter.abbreviate
(AnyObjectId objectId) ObjectReader.Filter.abbreviate
(AnyObjectId objectId, int len) BitmapIndex.BitmapBuilder.addObject
(AnyObjectId objectId, int type) Adds the id to the bitmap.void
CommitBuilder.addParentId
(AnyObjectId additionalParent) Add a parent onto the end of the parent list.void
TreeFormatter.append
(byte[] nameBuf, int namePos, int nameLen, FileMode mode, AnyObjectId id) Append any entry to the tree.void
TreeFormatter.append
(byte[] nameBuf, int namePos, int nameLen, FileMode mode, AnyObjectId id, boolean allowEmptyName) Append any entry to the tree.void
TreeFormatter.append
(byte[] name, FileMode mode, AnyObjectId id) Append any entry to the tree.void
TreeFormatter.append
(String name, FileMode mode, AnyObjectId id) Append any entry to the tree.void
ObjectChecker.check
(AnyObjectId id, int objType, byte[] raw) Check an object for parsing errors.void
ObjectChecker.checkCommit
(AnyObjectId id, byte[] raw) Check a commit for errors.void
ObjectChecker.checkTag
(AnyObjectId id, byte[] raw) Check an annotated tag for errors.void
ObjectChecker.checkTree
(AnyObjectId id, byte[] raw) Check a canonical formatted tree for errors.final int
AnyObjectId.compareTo
(AnyObjectId other) boolean
BitmapIndex.BitmapBuilder.contains
(AnyObjectId objectId) Whether the bitmap has the id set.boolean
ObjectIdOwnerMap.contains
(AnyObjectId toFind) Returns true if the objectId is contained within the collection.boolean
ObjectIdSet.contains
(AnyObjectId objectId) Returns true if the objectId is contained within the collection.boolean
ObjectIdSubclassMap.contains
(AnyObjectId toFind) Returns true if the objectId is contained within the collection.static int
Constants.decodeTypeString
(AnyObjectId id, byte[] typeString, byte endMark, MutableInteger offset) Parse an encoded type string into a type constant.void
BlobObjectChecker.endBlob
(AnyObjectId id) Finalize the blob checking.final boolean
AnyObjectId.equals
(AnyObjectId other) Determine if this ObjectId has exactly the same value as another.static boolean
AnyObjectId.equals
(AnyObjectId firstObjectId, AnyObjectId secondObjectId) Deprecated.static final AbbreviatedObjectId
AbbreviatedObjectId.fromObjectId
(AnyObjectId id) Convert an AbbreviatedObjectId from anAnyObjectId
.void
MutableObjectId.fromObjectId
(AnyObjectId src) Copy an ObjectId into this mutable buffer.ObjectIdOwnerMap.get
(AnyObjectId toFind) Lookup an existing mapping.ObjectIdSubclassMap.get
(AnyObjectId toFind) Lookup an existing mapping.BitmapIndex.getBitmap
(AnyObjectId objectId) Get the bitmap for the id.long
ObjectReader.Filter.getObjectSize
(AnyObjectId objectId, int typeHint) long
ObjectReader.getObjectSize
(AnyObjectId objectId, int typeHint) Get only the size of an object.boolean
ObjectDatabase.has
(AnyObjectId objectId) Does the requested object exist in this database?boolean
ObjectReader.Filter.has
(AnyObjectId objectId) boolean
ObjectReader.Filter.has
(AnyObjectId objectId, int typeHint) boolean
ObjectReader.has
(AnyObjectId objectId) Does the requested object exist in this database?boolean
ObjectReader.has
(AnyObjectId objectId, int typeHint) Does the requested object exist in this database?boolean
Repository.hasObject
(AnyObjectId objectId) Deprecated.usegetObjectDatabase().has(objectId)
static boolean
AnyObjectId.isEqual
(AnyObjectId firstObjectId, AnyObjectId secondObjectId) Compare two object identifier byte sequences for equality.boolean
ObjectReader.isNotLargerThan
(AnyObjectId objectId, int typeHint, long size) Check if the object size is less or equal than certain value By default, it reads the object from storage to get the size.void
BitmapIndex.BitmapLookupListener.onBitmapFound
(AnyObjectId oid) This object has a bitmap in the indexvoid
BitmapIndex.BitmapLookupListener.onBitmapNotFound
(AnyObjectId oid) This object does not have a bitmap in the indexObjectDatabase.open
(AnyObjectId objectId) Open an object from this database.ObjectDatabase.open
(AnyObjectId objectId, int typeHint) Open an object from this database.ObjectReader.Filter.open
(AnyObjectId objectId) ObjectReader.Filter.open
(AnyObjectId objectId, int typeHint) ObjectReader.open
(AnyObjectId objectId) Open an object from this database.abstract ObjectLoader
ObjectReader.open
(AnyObjectId objectId, int typeHint) Open an object from this database.Repository.open
(AnyObjectId objectId) Open an object from this repository.Repository.open
(AnyObjectId objectId, int typeHint) Open an object from this repository.Repository.parseCommit
(AnyObjectId id) Locate a reference to a commit and immediately parse its content.final int
AbbreviatedObjectId.prefixCompare
(AnyObjectId other) Compares this abbreviation to a full object id.void
BitmapIndex.BitmapBuilder.remove
(AnyObjectId objectId) Remove the id from the bitmap.void
RefUpdate.setExpectedOldObjectId
(AnyObjectId id) Set the expected value of the ref after the lock is taken, but before update occurs.void
RefUpdate.setNewObjectId
(AnyObjectId id) Set the new value the ref will update to.void
TagBuilder.setObjectId
(AnyObjectId obj, int objType) Set the object this tag refers to, and its type.void
CommitBuilder.setParentId
(AnyObjectId newParent) Set the parent of this commit.void
CommitBuilder.setParentIds
(AnyObjectId parent1, AnyObjectId parent2) Set the parents of this commit.void
CommitBuilder.setTreeId
(AnyObjectId id) Set the tree id for this commit object.static void
ObjectIdSerializer.write
(OutputStream out, AnyObjectId id) Write a possibly nullObjectId
to the stream, using markers to differentiate null and non-null instances.static void
ObjectIdSerializer.writeWithoutMarker
(OutputStream out, AnyObjectId id) Write a non-nullObjectId
to the stream.Method parameters in org.eclipse.jgit.lib with type arguments of type AnyObjectIdModifier and TypeMethodDescriptionvoid
CommitBuilder.setParentIds
(List<? extends AnyObjectId> newParents) Set the parents of this commit.Constructors in org.eclipse.jgit.lib with parameters of type AnyObjectIdModifierConstructorDescriptionBlobBasedConfig
(Config base, Repository db, AnyObjectId objectId) Load a configuration file from a blob.BlobBasedConfig
(Config base, Repository db, AnyObjectId treeish, String path) Load a configuration file from a blob stored in a specific commit.Entry
(AnyObjectId id) Initialize this entry with a specific ObjectId.GitmoduleEntry
(AnyObjectId treeId, AnyObjectId blobId) A record of (tree, blob) for a .gitmodule file in a packprotected
ObjectId
(AnyObjectId src) Initialize this instance by copying another existing ObjectId. -
Uses of AnyObjectId in org.eclipse.jgit.merge
Methods in org.eclipse.jgit.merge with parameters of type AnyObjectIdModifier and TypeMethodDescriptionboolean
Merger.merge
(boolean flush, AnyObjectId... tips) Merge together two or more tree-ish objects.boolean
Merger.merge
(AnyObjectId... tips) Merge together two or more tree-ish objects.boolean
ThreeWayMerger.merge
(AnyObjectId... tips) protected AbstractTreeIterator
Merger.openTree
(AnyObjectId treeId) Open an iterator over a tree.void
ThreeWayMerger.setBase
(AnyObjectId id) Set the common ancestor tree. -
Uses of AnyObjectId in org.eclipse.jgit.notes
Subclasses of AnyObjectId in org.eclipse.jgit.notesModifier and TypeClassDescriptionclass
In-memory representation of a single note attached to one object.Methods in org.eclipse.jgit.notes with parameters of type AnyObjectIdModifier and TypeMethodDescriptionboolean
NoteMap.contains
(AnyObjectId id) Determine if a note exists for the specified ObjectId.NoteMap.get
(AnyObjectId id) Lookup a note for a specific ObjectId.byte[]
NoteMap.getCachedBytes
(AnyObjectId id, int sizeLimit) Open and return the content of an object's note.NoteMap.getNote
(AnyObjectId id) Lookup a note for a specific ObjectId.void
NoteMap.remove
(AnyObjectId noteOn) Remove a note from an object.void
NoteMap.set
(AnyObjectId noteOn, String noteData, ObjectInserter ins) Attach a note to an object.void
NoteMap.set
(AnyObjectId noteOn, ObjectId noteData) Attach (or remove) a note on an object.Constructors in org.eclipse.jgit.notes with parameters of type AnyObjectIdModifierConstructorDescriptionNote
(AnyObjectId noteOn, ObjectId noteData) A Git note about the object referenced bynoteOn
. -
Uses of AnyObjectId in org.eclipse.jgit.revplot
Subclasses of AnyObjectId in org.eclipse.jgit.revplotModifier and TypeClassDescriptionclass
PlotCommit<L extends PlotLane>
A commit reference to a commit in the DAG.Methods in org.eclipse.jgit.revplot with parameters of type AnyObjectIdConstructors in org.eclipse.jgit.revplot with parameters of type AnyObjectId -
Uses of AnyObjectId in org.eclipse.jgit.revwalk
Subclasses of AnyObjectId 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.Methods in org.eclipse.jgit.revwalk with parameters of type AnyObjectIdModifier and TypeMethodDescriptionprotected RevCommit
DepthWalk.ObjectWalk.createCommit
(AnyObjectId id) protected RevCommit
DepthWalk.RevWalk.createCommit
(AnyObjectId id) protected RevCommit
RevWalk.createCommit
(AnyObjectId id) Construct a new unparsed commit for the given object.RevWalk.lookupAny
(AnyObjectId id, int type) Locate a reference to any object without loading it.RevWalk.lookupBlob
(AnyObjectId id) Locate a reference to a blob without loading it.RevWalk.lookupCommit
(AnyObjectId id) Locate a reference to a commit without loading it.protected RevCommit
RevWalk.lookupCommit
(AnyObjectId id, int graphPos) This method is intended to be invoked only byRevCommitCG
, in order to give commit the correct graphPosition before accessing the commit-graph.RevWalk.lookupOrNull
(AnyObjectId id) Locate an object that was previously allocated in this walk.RevWalk.lookupTag
(AnyObjectId id) Locate a reference to a tag without loading it.RevWalk.lookupTree
(AnyObjectId id) Locate a reference to a tree without loading it.RevWalk.parseAny
(AnyObjectId id) Locate a reference to any object and immediately parse its headers.RevWalk.parseCommit
(AnyObjectId id) Locate a reference to a commit and immediately parse its content.RevWalk.parseTag
(AnyObjectId id) Locate a reference to an annotated tag and immediately parse its content.RevWalk.parseTree
(AnyObjectId id) Locate a reference to a tree.void
BitmapWalker.setPrevCommit
(AnyObjectId prevCommit) Set the cached commit for the walker.Constructors in org.eclipse.jgit.revwalk with parameters of type AnyObjectIdModifierConstructorDescriptionprotected
Commit
(AnyObjectId id) Initialize a new commit.protected
RevBlob
(AnyObjectId id) Create a new blob reference.protected
RevCommit
(AnyObjectId id) Create a new commit reference.protected
RevTag
(AnyObjectId id) Create a new tag reference.protected
RevTree
(AnyObjectId id) Create a new tree reference. -
Uses of AnyObjectId in org.eclipse.jgit.revwalk.filter
Methods in org.eclipse.jgit.revwalk.filter with parameters of type AnyObjectIdModifier and TypeMethodDescriptionabstract boolean
ObjectFilter.include
(ObjectWalk walker, AnyObjectId objid) Determine if the named object should be included in the walk. -
Uses of AnyObjectId in org.eclipse.jgit.submodule
Methods in org.eclipse.jgit.submodule with parameters of type AnyObjectIdModifier and TypeMethodDescriptionstatic SubmoduleWalk
SubmoduleWalk.forPath
(Repository repository, AnyObjectId treeId, String path) Create a generator and advance it to the submodule entry at the given pathSubmoduleWalk.setRootTree
(AnyObjectId id) Set the tree used by this walk for finding.gitmodules
.SubmoduleWalk.setTree
(AnyObjectId treeId) Set the tree used for finding submodule entries -
Uses of AnyObjectId in org.eclipse.jgit.transport
Subclasses of AnyObjectId in org.eclipse.jgit.transportModifier and TypeClassDescriptionclass
Description of an object stored in a pack file, including offset.Methods in org.eclipse.jgit.transport with parameters of type AnyObjectIdModifier and TypeMethodDescriptionvoid
RefAdvertiser.advertiseHave
(AnyObjectId id) Advertise one object is available using the magic.have
.void
RefAdvertiser.advertiseId
(AnyObjectId id, String refName) Advertise one object under a specific name.void
RefAdvertiser.PacketLineOutRefAdvertiser.advertiseId
(AnyObjectId id, String refName) void
BundleWriter.include
(String name, AnyObjectId id) Include an object (and everything reachable from it) in the bundle.protected PackedObjectInfo
PackParser.newInfo
(AnyObjectId id, PackParser.UnresolvedDelta delta, ObjectId deltaBase) Construct a PackedObjectInfo instance for this parser.protected abstract void
PackParser.onBeginRefDelta
(long deltaStreamPosition, AnyObjectId baseId, long inflatedSize) Event notifying start of a delta referencing its base by ObjectId.protected void
PackParser.verifySafeObject
(AnyObjectId id, int type, byte[] data) Verify the integrity of the object.Constructors in org.eclipse.jgit.transport with parameters of type AnyObjectIdModifierConstructorDescriptionCreate a new structure to remember information about an object.Construct a"want $id not valid"
exception.WantNotValidException
(AnyObjectId id, Throwable cause) Construct a"want $id not valid"
exception. -
Uses of AnyObjectId in org.eclipse.jgit.treewalk
Methods in org.eclipse.jgit.treewalk with parameters of type AnyObjectIdModifier and TypeMethodDescriptionint
TreeWalk.addTree
(AnyObjectId id) Add an already existing tree object for walking.final CanonicalTreeParser
CanonicalTreeParser.createSubtreeIterator0
(ObjectReader reader, AnyObjectId id) Back door to quickly create a subtree iterator for any subtree.static TreeWalk
TreeWalk.forPath
(ObjectReader reader, String path, AnyObjectId... trees) Open a tree walk and filter to exactly one path.static TreeWalk
TreeWalk.forPath
(Repository db, String path, AnyObjectId... trees) Open a tree walk and filter to exactly one path.static TreeWalk
TreeWalk.forPath
(Repository repo, ObjectReader reader, String path, AnyObjectId... trees) Open a tree walk and filter to exactly one path.void
CanonicalTreeParser.reset
(ObjectReader reader, AnyObjectId id) Reset this parser to walk through the given tree.void
TreeWalk.reset
(AnyObjectId id) Reset this walker to run over a single existing tree.void
TreeWalk.reset
(AnyObjectId... ids) Reset this walker to run over a set of existing trees.CanonicalTreeParser.resetRoot
(ObjectReader reader, AnyObjectId id) Reset this parser to walk through the given tree.Constructors in org.eclipse.jgit.treewalk with parameters of type AnyObjectIdModifierConstructorDescriptionCanonicalTreeParser
(byte[] prefix, ObjectReader reader, AnyObjectId treeId) Create a new parser for a tree appearing in a subset of a repository.
isEqual(AnyObjectId, AnyObjectId)
instead