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
Subclasses of AnyObjectId in org.eclipse.jgit.apiMethods in org.eclipse.jgit.api with parameters of type AnyObjectIdModifier and TypeMethodDescriptionprivate LogCommandLogCommand.add(boolean include, AnyObjectId start) LogCommand.add(AnyObjectId start) Mark a commit to start graph traversal from.LogCommand.addRange(AnyObjectId since, AnyObjectId until) Adds the rangesince..untilvoidCloneCommand.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^startBlameCommand.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).BlameCommand.setStartCommit(AnyObjectId commit) Set start commit idRebaseCommand.setUpstream(AnyObjectId upstream) Set the upstream commitConstructors in org.eclipse.jgit.api with parameters of type AnyObjectId -
Uses of AnyObjectId in org.eclipse.jgit.blame
Subclasses of AnyObjectId in org.eclipse.jgit.blameMethods in org.eclipse.jgit.blame with parameters of type AnyObjectIdModifier and TypeMethodDescriptionprotected RevCommitReverseWalk.createCommit(AnyObjectId id) Construct a new unparsed commit for the given object.BlameGenerator.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).Constructors in org.eclipse.jgit.blame with parameters of type AnyObjectId -
Uses of AnyObjectId in org.eclipse.jgit.diff
Methods in org.eclipse.jgit.diff with parameters of type AnyObjectIdModifier and TypeMethodDescription(package private) static DiffEntryDiffEntry.add(String path, AnyObjectId id) (package private) static DiffEntryDiffEntry.delete(String path, AnyObjectId id) voidDiffFormatter.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 TypeMethodDescriptionvoidDirCacheBuilder.addTree(byte[] pathPrefix, int stage, ObjectReader reader, AnyObjectId tree) Recursively add an entire tree into this builder.private static CanonicalTreeParserDirCacheBuilder.createTreeParser(byte[] pathPrefix, ObjectReader reader, AnyObjectId tree) static DirCacheDirCache.read(ObjectReader reader, AnyObjectId treeId) Create a new in memory index read from the contents of a tree.voidDirCacheEntry.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 TypeMethodDescriptionvoidLargeObjectException.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
Subclasses of AnyObjectId in org.eclipse.jgit.internal.fsckMethods in org.eclipse.jgit.internal.fsck with parameters of type AnyObjectIdModifier and TypeMethodDescriptionprotected voidFsckPackParser.onBeginRefDelta(long deltaStreamPosition, AnyObjectId baseId, long inflatedSize) Event notifying start of a delta referencing its base by ObjectId.protected voidFsckPackParser.verifySafeObject(AnyObjectId id, int type, byte[] data) Verify the integrity of the object.Constructors in org.eclipse.jgit.internal.fsck with parameters of type AnyObjectId -
Uses of AnyObjectId in org.eclipse.jgit.internal.revwalk
Fields in org.eclipse.jgit.internal.revwalk declared as AnyObjectIdModifier and TypeFieldDescriptionprivate final AnyObjectIdAddToBitmapWithCacheFilter.cachedCommitConstructors 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.dfs
Subclasses of AnyObjectId in org.eclipse.jgit.internal.storage.dfsModifier and TypeClassDescription(package private) classprivate static classMethods in org.eclipse.jgit.internal.storage.dfs with parameters of type AnyObjectIdModifier and TypeMethodDescriptionprivate booleanDfsGarbageCollector.anyPackHas(AnyObjectId id) private static ObjectLoaderDfsReader.checkType(ObjectLoader ldr, AnyObjectId id, int typeHint) (package private) longDfsPackFile.findOffset(DfsReader ctx, AnyObjectId id) (package private) ObjectLoaderDfsPackFile.get(DfsReader ctx, AnyObjectId id) Get an object from this pack.(package private) longDfsPackFile.getObjectSize(DfsReader ctx, AnyObjectId id) longDfsReader.getObjectSize(AnyObjectId objectId, int typeHint) Get only the size of an object.private longDfsReader.getObjectSizeImpl(DfsObjDatabase.PackList packList, AnyObjectId objectId) booleanDfsInserter.Reader.has(AnyObjectId objectId) booleanDfsObjDatabase.has(AnyObjectId objectId, boolean avoidUnreachableObjects) Does the requested object exist in this database?booleanDfsReader.has(AnyObjectId objectId) Does the requested object exist in this database?private booleanDfsReader.hasImpl(DfsObjDatabase.PackList packList, AnyObjectId objectId) booleanDfsPackFile.hasObject(DfsReader ctx, AnyObjectId id) Check if an object is stored within this pack.DfsReader.newObjectToPack(AnyObjectId objectId, int type) Allocate a newPackWriterstate structure for an object.protected voidDfsPackParser.onBeginRefDelta(long streamPosition, AnyObjectId baseId, long inflatedSize) Event notifying start of a delta referencing its base by ObjectId.DfsInserter.Reader.open(AnyObjectId objectId, int typeHint) DfsReader.open(AnyObjectId objectId, int typeHint) Open an object from this database.private ObjectLoaderDfsReader.openImpl(DfsObjDatabase.PackList packList, AnyObjectId objectId) Constructors in org.eclipse.jgit.internal.storage.dfs with parameters of type AnyObjectIdModifierConstructorDescription(package private)DfsObjectToPack(AnyObjectId src, int type) (package private)ObjectIdWithOffset(AnyObjectId id, long ofs) -
Uses of AnyObjectId in org.eclipse.jgit.internal.storage.file
Subclasses of AnyObjectId in org.eclipse.jgit.internal.storage.fileModifier and TypeClassDescription(package private) static final classData representation of the bitmap entry restored from a pack index.private static final classprivate static class(package private) static class(package private) classprivate static final classstatic final classAn entry in the old PackBitmapIndex.Fields in org.eclipse.jgit.internal.storage.file declared as AnyObjectIdMethods in org.eclipse.jgit.internal.storage.file that return AnyObjectIdModifier and TypeMethodDescription(package private) AnyObjectIdPack.getPackChecksum()private AnyObjectIdPackFileSnapshot.readChecksum(File packFile) Methods in org.eclipse.jgit.internal.storage.file with parameters of type AnyObjectIdModifier and TypeMethodDescription(package private) voidUnpackedObjectCache.add(AnyObjectId objectId) (package private) booleanUnpackedObjectCache.Table.add(AnyObjectId toAdd) voidPackBitmapIndexBuilder.addBitmap(AnyObjectId objectId, com.googlecode.javaewah.EWAHCompressedBitmap bitmap, int flags) Stores the bitmap for the objectId.voidPackBitmapIndexBuilder.addBitmap(AnyObjectId objectId, BitmapIndex.Bitmap bitmap, int flags) Stores the bitmap for the objectId.BitmapIndexImpl.CompressedBitmapBuilder.addObject(AnyObjectId objectId, int type) private intPackIndexV2.binarySearchLevelTwo(AnyObjectId objId, int levelOne) (package private) static voidUnpackedObject.checkValidEndOfStream(InputStream in, Inflater inf, AnyObjectId id, byte[] buf) booleanBitmapIndexImpl.CompressedBitmapBuilder.contains(AnyObjectId objectId) booleanLazyObjectIdSetFile.contains(AnyObjectId objectId) Returns true if the objectId is contained within the collection.booleanPackIndex.contains(AnyObjectId id) Returns true if the objectId is contained within the collection.(package private) booleanUnpackedObjectCache.Table.contains(AnyObjectId toFind) (package private) FileCachedObjectDirectory.fileFor(AnyObjectId id) (package private) abstract FileFileObjectDatabase.fileFor(AnyObjectId id) (package private) FileLooseObjects.fileFor(AnyObjectId objectId) Compute the location of a loose object file.ObjectDirectory.fileFor(AnyObjectId objectId) Compute the location of a loose object file.abstract longPackIndex.findCRC32(AnyObjectId objId) Retrieve stored CRC32 checksum of the requested object raw-data (including header).longPackIndexV1.findCRC32(AnyObjectId objId) Retrieve stored CRC32 checksum of the requested object raw-data (including header).longPackIndexV2.findCRC32(AnyObjectId objId) Retrieve stored CRC32 checksum of the requested object raw-data (including header).abstract longPackIndex.findOffset(AnyObjectId objId) Locate the file offset position for the requested object.longPackIndexV1.findOffset(AnyObjectId objId) Locate the file offset position for the requested object.longPackIndexV2.findOffset(AnyObjectId objId) Locate the file offset position for the requested object.(package private) intBitmapIndexImpl.findOrInsert(AnyObjectId objectId, int type) (package private) intBitmapIndexImpl.MutableBitmapIndex.findOrInsert(AnyObjectId objectId, int type) (package private) intBitmapIndexImpl.findPosition(AnyObjectId objectId) (package private) intBitmapIndexImpl.MutableBitmapIndex.findPosition(AnyObjectId objectId) abstract intPackBitmapIndex.findPosition(AnyObjectId objectId) Finds the position in the bitmap of the object.intPackBitmapIndexBuilder.findPosition(AnyObjectId objectId) Finds the position in the bitmap of the object.intPackBitmapIndexRemapper.findPosition(AnyObjectId objectId) Finds the position in the bitmap of the object.intPackBitmapIndexV1.findPosition(AnyObjectId objectId) Finds the position in the bitmap of the object.(package private) ObjectLoaderPack.get(WindowCursor curs, AnyObjectId id) Get an object from this pack.com.googlecode.javaewah.EWAHCompressedBitmapBasePackBitmapIndex.getBitmap(AnyObjectId objectId) Returns the previously constructed bitmap for the object.BitmapIndexImpl.getBitmap(AnyObjectId objectId) Get the bitmap for the id.abstract com.googlecode.javaewah.EWAHCompressedBitmapPackBitmapIndex.getBitmap(AnyObjectId objectId) Returns the previously constructed bitmap for the object.com.googlecode.javaewah.EWAHCompressedBitmapPackBitmapIndexRemapper.getBitmap(AnyObjectId objectId) Returns the previously constructed bitmap for the object.private longObjectDirectory.getLooseSizeFromSelfOrAlternate(WindowCursor curs, AnyObjectId id, Set<ObjectDirectory.AlternateHandle.Id> skips) (package private) ObjectLoaderLooseObjects.getObjectLoader(WindowCursor curs, File path, AnyObjectId id) Provides a loader for an objectId(package private) longCachedObjectDirectory.getObjectSize(WindowCursor curs, AnyObjectId objectId) (package private) abstract longFileObjectDatabase.getObjectSize(WindowCursor curs, AnyObjectId objectId) (package private) longObjectDirectory.getObjectSize(WindowCursor curs, AnyObjectId id) (package private) longPack.getObjectSize(WindowCursor curs, AnyObjectId id) longWindowCursor.getObjectSize(AnyObjectId objectId, int typeHint) Get only the size of an object.private longObjectDirectory.getObjectSizeWithoutRestoring(WindowCursor curs, AnyObjectId id) (package private) PackPackDirectory.getPack(AnyObjectId objectId) Get thePackfor the specified object if it is stored in this PackDirectory.private longObjectDirectory.getPackedSizeFromSelfOrAlternate(WindowCursor curs, AnyObjectId id, Set<ObjectDirectory.AlternateHandle.Id> skips) (package private) longLooseObjects.getSize(WindowCursor curs, AnyObjectId id) (package private) longPackDirectory.getSize(WindowCursor curs, AnyObjectId id) (package private) static longUnpackedObject.getSize(InputStream in, AnyObjectId id, WindowCursor wc) booleanCachedObjectDirectory.has(AnyObjectId objectId) Does the requested object exist in this database?private booleanCachedObjectDirectory.has(AnyObjectId objectId, Set<ObjectDirectory.AlternateHandle.Id> skips) (package private) booleanLooseObjects.has(AnyObjectId objectId) Does the requested object exist as a loose object?booleanObjectDirectory.has(AnyObjectId objectId) Does the requested object exist in this database?(package private) booleanPackDirectory.has(AnyObjectId objectId) Does the requested object exist in this PackDirectory?booleanWindowCursor.has(AnyObjectId objectId) Does the requested object exist in this database?(package private) booleanLooseObjects.hasCached(AnyObjectId id) private booleanObjectDirectory.hasLooseInSelfOrAlternate(AnyObjectId objectId, Set<ObjectDirectory.AlternateHandle.Id> skips) booleanPack.hasObject(AnyObjectId id) Determine if an object is contained within the pack file.booleanPackIndex.hasObject(AnyObjectId id) Determine if an object is contained within the pack file.private booleanObjectDirectory.hasPackedInSelfOrAlternate(AnyObjectId objectId, Set<ObjectDirectory.AlternateHandle.Id> skips) (package private) booleanObjectDirectory.hasPackedObject(AnyObjectId objectId) private booleanObjectDirectory.hasPackedOrLooseInSelfOrAlternate(AnyObjectId objectId) private intUnpackedObjectCache.Table.index(AnyObjectId id) (package private) booleanUnpackedObjectCache.isUnpacked(AnyObjectId objectId) WindowCursor.newObjectToPack(AnyObjectId objectId, int type) Allocate a newPackWriterstate structure for an object.protected voidObjectDirectoryPackParser.onBeginRefDelta(long streamPosition, AnyObjectId baseId, long inflatedSize) Event notifying start of a delta referencing its base by ObjectId.(package private) ObjectLoaderLooseObjects.open(WindowCursor curs, AnyObjectId id) (package private) ObjectLoaderPackDirectory.open(WindowCursor curs, AnyObjectId objectId) PackInserter.Reader.open(AnyObjectId objectId, int typeHint) (package private) static ObjectLoaderUnpackedObject.open(InputStream in, File path, AnyObjectId id, WindowCursor wc) WindowCursor.open(AnyObjectId objectId, int typeHint) Open an object from this database.private ObjectLoaderObjectDirectory.openLooseFromSelfOrAlternate(WindowCursor curs, AnyObjectId objectId, Set<ObjectDirectory.AlternateHandle.Id> skips) (package private) ObjectLoaderCachedObjectDirectory.openLooseObject(WindowCursor curs, AnyObjectId id) (package private) abstract ObjectLoaderFileObjectDatabase.openLooseObject(WindowCursor curs, AnyObjectId id) (package private) ObjectLoaderObjectDirectory.openLooseObject(WindowCursor curs, AnyObjectId id) (package private) ObjectLoaderCachedObjectDirectory.openObject(WindowCursor curs, AnyObjectId objectId) private ObjectLoaderCachedObjectDirectory.openObject(WindowCursor curs, AnyObjectId objectId, Set<ObjectDirectory.AlternateHandle.Id> skips) (package private) abstract ObjectLoaderFileObjectDatabase.openObject(WindowCursor curs, AnyObjectId objectId) (package private) ObjectLoaderObjectDirectory.openObject(WindowCursor curs, AnyObjectId objectId) private ObjectLoaderObjectDirectory.openObjectWithoutRestoring(WindowCursor curs, AnyObjectId objectId) private ObjectLoaderObjectDirectory.openPackedFromSelfOrAlternate(WindowCursor curs, AnyObjectId objectId, Set<ObjectDirectory.AlternateHandle.Id> skips) (package private) ObjectLoaderObjectDirectory.openPackedObject(WindowCursor curs, AnyObjectId objectId) static ObjectLoaderUnpackedObject.parse(byte[] raw, AnyObjectId id) Parse an object from the unpacked object format.voidBitmapIndexImpl.CompressedBitmapBuilder.remove(AnyObjectId objectId) (package private) voidUnpackedObjectCache.remove(AnyObjectId objectId) (package private) LocalObjectRepresentationPack.representation(WindowCursor curs, AnyObjectId objectId) private booleanObjectDirectory.restoreFromSelf(AnyObjectId objectId) private booleanObjectDirectory.restoreFromSelfOrAlternate(AnyObjectId objectId, Set<ObjectDirectory.AlternateHandle.Id> skips) (package private) voidPackFileSnapshot.setChecksum(AnyObjectId checksum) Constructors in org.eclipse.jgit.internal.storage.file with parameters of type AnyObjectIdModifierConstructorDescription(package private)Entry(AnyObjectId id) (package private)Entry(AnyObjectId src, int flags) (package private)LargeObject(int type, long size, File path, AnyObjectId id, FileObjectDatabase db) (package private)LocalObjectToPack(AnyObjectId src, int type) (package private)MutableEntry(AnyObjectId objectId, int type, int position) (package private)PositionEntry(AnyObjectId objectId, int namePosition) (package private)StoredBitmap(AnyObjectId objectId, com.googlecode.javaewah.EWAHCompressedBitmap bitmap, BasePackBitmapIndex.StoredBitmap xorBitmap, int flags) (package private) -
Uses of AnyObjectId in org.eclipse.jgit.internal.storage.pack
Subclasses of AnyObjectId in org.eclipse.jgit.internal.storage.packModifier and TypeClassDescriptionprivate static classfinal classA commit object for which a bitmap index should be built.classPer-object state used byPackWriter.Fields in org.eclipse.jgit.internal.storage.pack declared as AnyObjectIdMethods in org.eclipse.jgit.internal.storage.pack with parameters of type AnyObjectIdModifier and TypeMethodDescriptionprivate voidBaseSearch.add(AnyObjectId id, int objectType, int pathHash) private voidPackWriter.addObject(AnyObjectId src, int type, int pathHashCode) private byte[]PackWriter.buffer(AnyObjectId objId) (package private) static byte[]PackWriter.buffer(PackConfig config, ObjectReader or, AnyObjectId objId) private booleanPackWriter.exclude(AnyObjectId objectId) private voidPackWriter.filterAndAddObject(AnyObjectId src, int type, int pathHashCode, Set<? extends AnyObjectId> want) PackWriter.get(AnyObjectId id) Lookup the ObjectToPack object for a given ObjectId.private final booleanPackWriter.have(ObjectToPack ptr, AnyObjectId objectId) static BitmapCommit.BuilderBitmapCommit.newBuilder(AnyObjectId objId) Get a builder of BitmapCommit whose object id isobjId.ObjectReuseAsIs.newObjectToPack(AnyObjectId objectId, int type) Allocate a newPackWriterstate structure for an object.private byte[]BaseSearch.readTree(AnyObjectId id) BitmapCommit.Builder.setId(AnyObjectId objectId) Set objectId of the builder.booleanPackWriter.willInclude(AnyObjectId id) Determine if the pack file will contain the requested object.Method parameters in org.eclipse.jgit.internal.storage.pack with type arguments of type AnyObjectIdModifier and TypeMethodDescriptionprivate voidPackWriter.filterAndAddObject(AnyObjectId src, int type, int pathHashCode, Set<? extends AnyObjectId> want) Constructors in org.eclipse.jgit.internal.storage.pack with parameters of type AnyObjectIdModifierConstructorDescription(package private)BitmapCommit(AnyObjectId objectId, boolean reuseWalker, int flags) (package private)BitmapCommit(AnyObjectId objectId, boolean reuseWalker, int flags, boolean addToIndex) ObjectToPack(AnyObjectId src, int type) Construct for the specified object id.(package private)TreeWithData(AnyObjectId id, byte[] buf) -
Uses of AnyObjectId in org.eclipse.jgit.internal.storage.reftable
Subclasses of AnyObjectId in org.eclipse.jgit.internal.storage.reftableFields in org.eclipse.jgit.internal.storage.reftable declared as AnyObjectIdModifier and TypeFieldDescription(package private) final AnyObjectIdMergedReftable.FilteringMergedRefCursor.filterIdMethods in org.eclipse.jgit.internal.storage.reftable with parameters of type AnyObjectIdModifier and TypeMethodDescriptionMergedReftable.byObjectId(AnyObjectId name) Match references pointing to a specific object.abstract RefCursorReftable.byObjectId(AnyObjectId id) Match references pointing to a specific object.ReftableReader.byObjectId(AnyObjectId id) Match references pointing to a specific object.booleanReftable.hasId(AnyObjectId id) Test if any reference directly refers to the object.Constructors in org.eclipse.jgit.internal.storage.reftable with parameters of type AnyObjectIdModifierConstructorDescription(package private)(package private)ObjCursorImpl(long scanEnd, AnyObjectId id) (package private)RefList(AnyObjectId id) -
Uses of AnyObjectId in org.eclipse.jgit.lfs
Methods in org.eclipse.jgit.lfs with parameters of type AnyObjectIdModifier and TypeMethodDescriptionprivate static LfsPointerLfsPrePushHook.loadLfsPointer(ObjectReader r, AnyObjectId obj) -
Uses of AnyObjectId in org.eclipse.jgit.lib
Subclasses of AnyObjectId in org.eclipse.jgit.libModifier and TypeClassDescriptionclassA mutable SHA-1 abstraction.classA SHA-1 abstraction.static classType of entry stored in theObjectIdOwnerMap.Fields in org.eclipse.jgit.lib declared as AnyObjectIdModifier and TypeFieldDescriptionprivate final AnyObjectIdGitmoduleEntry.blobIdprivate final AnyObjectIdIndexDiff.treeprivate final AnyObjectIdGitmoduleEntry.treeIdMethods in org.eclipse.jgit.lib that return AnyObjectIdModifier and TypeMethodDescriptionprivate static AnyObjectIdBlobBasedConfig.asTree(ObjectReader or, AnyObjectId treeish) GitmoduleEntry.getBlobId()GitmoduleEntry.getTreeId()Methods 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.voidCommitBuilder.addParentId(AnyObjectId additionalParent) Add a parent onto the end of the parent list.voidTreeFormatter.append(byte[] nameBuf, int namePos, int nameLen, FileMode mode, AnyObjectId id) Append any entry to the tree.voidTreeFormatter.append(byte[] nameBuf, int namePos, int nameLen, FileMode mode, AnyObjectId id, boolean allowEmptyName) Append any entry to the tree.voidTreeFormatter.append(byte[] name, FileMode mode, AnyObjectId id) Append any entry to the tree.voidTreeFormatter.append(String name, FileMode mode, AnyObjectId id) Append any entry to the tree.private static AnyObjectIdBlobBasedConfig.asTree(ObjectReader or, AnyObjectId treeish) voidObjectChecker.check(AnyObjectId id, int objType, byte[] raw) Check an object for parsing errors.voidObjectChecker.checkCommit(AnyObjectId id, byte[] raw) Check a commit for errors.private voidObjectChecker.checkNotWindowsDevice(byte[] raw, int ptr, int end, AnyObjectId id) private voidObjectChecker.checkPathSegment2(byte[] raw, int ptr, int end, AnyObjectId id) private voidObjectChecker.checkPersonIdent(byte[] raw, AnyObjectId id) voidObjectChecker.checkTag(AnyObjectId id, byte[] raw) Check an annotated tag for errors.voidObjectChecker.checkTree(AnyObjectId id, byte[] raw) Check a canonical formatted tree for errors.private booleanObjectChecker.checkTruncatedIgnorableUTF8(byte[] raw, int ptr, int end, AnyObjectId id) final intAnyObjectId.compareTo(AnyObjectId other) booleanBitmapIndex.BitmapBuilder.contains(AnyObjectId objectId) Whether the bitmap has the id set.booleanObjectIdOwnerMap.contains(AnyObjectId toFind) Returns true if the objectId is contained within the collection.booleanObjectIdSet.contains(AnyObjectId objectId) Returns true if the objectId is contained within the collection.booleanObjectIdSubclassMap.contains(AnyObjectId toFind) Returns true if the objectId is contained within the collection.static intConstants.decodeTypeString(AnyObjectId id, byte[] typeString, byte endMark, MutableInteger offset) Parse an encoded type string into a type constant.voidBlobObjectChecker.endBlob(AnyObjectId id) Finalize the blob checking.final booleanAnyObjectId.equals(AnyObjectId other) Determine if this ObjectId has exactly the same value as another.static booleanAnyObjectId.equals(AnyObjectId firstObjectId, AnyObjectId secondObjectId) Deprecated.private static final booleanObjectIdOwnerMap.equals(AnyObjectId firstObjectId, AnyObjectId secondObjectId) static final AbbreviatedObjectIdAbbreviatedObjectId.fromObjectId(AnyObjectId id) Convert an AbbreviatedObjectId from anAnyObjectId.voidMutableObjectId.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.longObjectReader.Filter.getObjectSize(AnyObjectId objectId, int typeHint) longObjectReader.getObjectSize(AnyObjectId objectId, int typeHint) Get only the size of an object.booleanObjectDatabase.has(AnyObjectId objectId) Does the requested object exist in this database?booleanObjectReader.Filter.has(AnyObjectId objectId) booleanObjectReader.Filter.has(AnyObjectId objectId, int typeHint) booleanObjectReader.has(AnyObjectId objectId) Does the requested object exist in this database?booleanObjectReader.has(AnyObjectId objectId, int typeHint) Does the requested object exist in this database?booleanRepository.hasObject(AnyObjectId objectId) Deprecated.usegetObjectDatabase().has(objectId)static booleanAnyObjectId.isEqual(AnyObjectId firstObjectId, AnyObjectId secondObjectId) Compare two object identifier byte sequences for equality.private booleanObjectChecker.isGitmodules(byte[] buf, int start, int end, AnyObjectId id) Check if the filename contained in buf[start:end] could be read as a .gitmodules file when checked out to the working directory.private booleanObjectChecker.isMacHFSGit(byte[] raw, int ptr, int end, AnyObjectId id) private booleanObjectChecker.isMacHFSGitmodules(byte[] raw, int ptr, int end, AnyObjectId id) private booleanObjectChecker.isMacHFSPath(byte[] raw, int ptr, int end, byte[] path, AnyObjectId id) ObjectDatabase.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 ObjectLoaderObjectReader.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 intAbbreviatedObjectId.prefixCompare(AnyObjectId other) Compares this abbreviation to a full object id.private static byte[]BlobBasedConfig.read(ObjectReader or, AnyObjectId blobId) private static byte[]BlobBasedConfig.read(Repository db, AnyObjectId blobId) private static byte[]BlobBasedConfig.read(Repository db, AnyObjectId treeish, String path) voidBitmapIndex.BitmapBuilder.remove(AnyObjectId objectId) Remove the id from the bitmap.private voidObjectChecker.report(ObjectChecker.ErrorType err, AnyObjectId id, String why) private static RevObjectRefUpdate.safeParseNew(RevWalk rw, AnyObjectId newId) private static RevObjectRefUpdate.safeParseOld(RevWalk rw, AnyObjectId oldId) private intObjectChecker.scanPathSegment(byte[] raw, int ptr, int end, AnyObjectId id) voidRefUpdate.setExpectedOldObjectId(AnyObjectId id) Set the expected value of the ref after the lock is taken, but before update occurs.voidRefUpdate.setNewObjectId(AnyObjectId id) Set the new value the ref will update to.voidTagBuilder.setObjectId(AnyObjectId obj, int objType) Set the object this tag refers to, and its type.voidCommitBuilder.setParentId(AnyObjectId newParent) Set the parent of this commit.voidCommitBuilder.setParentIds(AnyObjectId parent1, AnyObjectId parent2) Set the parents of this commit.voidCommitBuilder.setTreeId(AnyObjectId id) Set the tree id for this commit object.static voidObjectIdSerializer.write(OutputStream out, AnyObjectId id) Write a possibly nullObjectIdto the stream, using markers to differentiate null and non-null instances.static voidObjectIdSerializer.writeWithoutMarker(OutputStream out, AnyObjectId id) Write a non-nullObjectIdto the stream.Method parameters in org.eclipse.jgit.lib with type arguments of type AnyObjectIdModifier and TypeMethodDescriptionvoidCommitBuilder.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 packprotectedObjectId(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 TypeMethodDescriptionbooleanMerger.merge(boolean flush, AnyObjectId... tips) Merge together two or more tree-ish objects.booleanMerger.merge(AnyObjectId... tips) Merge together two or more tree-ish objects.booleanThreeWayMerger.merge(AnyObjectId... tips) Merge together two or more tree-ish objects.protected AbstractTreeIteratorMerger.openTree(AnyObjectId treeId) Open an iterator over a tree.voidThreeWayMerger.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 TypeClassDescription(package private) classA tree entry found in a note branch that isn't a valid note.classIn-memory representation of a single note attached to one object.Methods in org.eclipse.jgit.notes with parameters of type AnyObjectIdModifier and TypeMethodDescriptionprivate intFanoutBucket.cell(AnyObjectId id) booleanNoteMap.contains(AnyObjectId id) Determine if a note exists for the specified ObjectId.(package private) InMemoryNoteBucketFanoutBucket.contractIfTooSmall(AnyObjectId noteOn, ObjectReader or) (package private) intFanoutBucket.estimateSize(AnyObjectId noteOn, ObjectReader or) (package private) intFanoutBucket.LazyNoteBucket.estimateSize(AnyObjectId objId, ObjectReader or) (package private) intLeafBucket.estimateSize(AnyObjectId noteOn, ObjectReader or) (package private) abstract intNoteBucket.estimateSize(AnyObjectId noteOn, ObjectReader or) 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.(package private) NoteFanoutBucket.getNote(AnyObjectId objId, ObjectReader or) (package private) NoteFanoutBucket.LazyNoteBucket.getNote(AnyObjectId objId, ObjectReader or) (package private) NoteLeafBucket.getNote(AnyObjectId objId, ObjectReader or) (package private) abstract NoteNoteBucket.getNote(AnyObjectId objId, ObjectReader reader) NoteMap.getNote(AnyObjectId id) Lookup a note for a specific ObjectId.FanoutBucket.iterator(AnyObjectId objId, ObjectReader reader) FanoutBucket.LazyNoteBucket.iterator(AnyObjectId objId, ObjectReader reader) LeafBucket.iterator(AnyObjectId objId, ObjectReader reader) NoteBucket.iterator(AnyObjectId objId, ObjectReader reader) private InMemoryNoteBucketFanoutBucket.LazyNoteBucket.load(AnyObjectId prefix, ObjectReader or) (package private) static InMemoryNoteBucketFanoutBucket.loadIfLazy(NoteBucket b, AnyObjectId prefix, ObjectReader or) (package private) voidLeafBucket.parseOneEntry(AnyObjectId noteOn, AnyObjectId noteData) voidNoteMap.remove(AnyObjectId noteOn) Remove a note from an object.private intLeafBucket.search(AnyObjectId objId) (package private) InMemoryNoteBucketFanoutBucket.LazyNoteBucket.set(AnyObjectId noteOn, AnyObjectId noteData, ObjectReader or) (package private) InMemoryNoteBucketFanoutBucket.set(AnyObjectId noteOn, AnyObjectId noteData, ObjectReader or) (package private) InMemoryNoteBucketLeafBucket.set(AnyObjectId noteOn, AnyObjectId noteData, ObjectReader or) (package private) abstract InMemoryNoteBucketNoteBucket.set(AnyObjectId noteOn, AnyObjectId noteData, ObjectReader reader) voidNoteMap.set(AnyObjectId noteOn, String noteData, ObjectInserter ins) Attach a note to an object.voidNoteMap.set(AnyObjectId noteOn, ObjectId noteData) Attach (or remove) a note on an object.Constructors in org.eclipse.jgit.notes with parameters of type AnyObjectIdModifierConstructorDescription(package private)NonNoteEntry(byte[] name, FileMode mode, AnyObjectId id) Note(AnyObjectId noteOn, ObjectId noteData) A Git note about the object referenced bynoteOn. -
Uses of AnyObjectId in org.eclipse.jgit.pgm
Fields in org.eclipse.jgit.pgm with type parameters of type AnyObjectIdMethods in org.eclipse.jgit.pgm with parameters of type AnyObjectIdModifier and TypeMethodDescriptionvoidClone.checkingOut(AnyObjectId commit, String path) Notify checkout of commitprivate booleanMerge.isMergedInto(Ref oldHead, AnyObjectId src) private voidLsRemote.show(AnyObjectId id, String name) private voidShowRef.show(AnyObjectId id, String name) -
Uses of AnyObjectId in org.eclipse.jgit.revplot
Subclasses of AnyObjectId in org.eclipse.jgit.revplotModifier and TypeClassDescriptionclassPlotCommit<L extends PlotLane>A commit reference to a commit in the DAG.Fields in org.eclipse.jgit.revplot with type parameters of type AnyObjectIdModifier and TypeFieldDescriptionprivate Map<AnyObjectId,Set<Ref>> PlotWalk.additionalRefMapprivate Map<AnyObjectId,Set<Ref>> PlotWalk.reverseRefMapMethods in org.eclipse.jgit.revplot with parameters of type AnyObjectIdModifier and TypeMethodDescriptionprotected RevCommitPlotWalk.createCommit(AnyObjectId id) Construct a new unparsed commit for the given object.private Ref[]PlotWalk.getRefs(AnyObjectId commitId) Constructors 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 classRevCommit with a depth (in commits) from a root.classA binary file, or a symbolic link.classA commit reference to a commit in the DAG.classBase object type accessed during revision walking.classAn annotated tag.classA reference to a tree of subtrees/files.Fields in org.eclipse.jgit.revwalk declared as AnyObjectIdMethods in org.eclipse.jgit.revwalk with parameters of type AnyObjectIdModifier and TypeMethodDescriptionprotected RevCommitDepthWalk.ObjectWalk.createCommit(AnyObjectId id) protected RevCommitDepthWalk.RevWalk.createCommit(AnyObjectId id) protected RevCommitRevWalk.createCommit(AnyObjectId id) Construct a new unparsed commit for the given object.final booleanBitmapWalker.BitmapObjectFilter.include(ObjectWalk walker, AnyObjectId objid) 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.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.private RevObjectRevWalk.parseNew(AnyObjectId id, ObjectLoader ldr) 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.voidBitmapWalker.setPrevCommit(AnyObjectId prevCommit) Set the cached commit for the walker.Constructors in org.eclipse.jgit.revwalk with parameters of type AnyObjectIdModifierConstructorDescriptionprotectedCommit(AnyObjectId id) Initialize a new commit.protectedRevBlob(AnyObjectId id) Create a new blob reference.protectedRevCommit(AnyObjectId id) Create a new commit reference.(package private)RevObject(AnyObjectId name) protectedRevTag(AnyObjectId id) Create a new tag reference.protectedRevTree(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 TypeMethodDescriptionbooleanObjectFilter.AllFilter.include(ObjectWalk walker, AnyObjectId o) abstract booleanObjectFilter.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 SubmoduleWalkSubmoduleWalk.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 TypeClassDescriptionclassDescription of an object stored in a pack file, including offset.private static classMethods in org.eclipse.jgit.transport with parameters of type AnyObjectIdModifier and TypeMethodDescriptionprivate voidRefAdvertiser.advertiseAny(AnyObjectId obj, String refName) private voidRefAdvertiser.advertiseAnyOnce(AnyObjectId obj, String refName) voidRefAdvertiser.advertiseHave(AnyObjectId id) Advertise one object is available using the magic.have.voidRefAdvertiser.advertiseId(AnyObjectId id, String refName) Advertise one object under a specific name.voidRefAdvertiser.PacketLineOutRefAdvertiser.advertiseId(AnyObjectId id, String refName) private booleanWalkFetchConnection.alreadyHave(AnyObjectId id) private voidPackParser.checkObjectCollision(AnyObjectId obj, int type, byte[] data, long sizeBeforeInflating) private booleanWalkFetchConnection.downloadLooseObject(AnyObjectId id, String looseName, WalkRemoteObjectDatabase remote) private voidWalkFetchConnection.downloadObject(ProgressMonitor pm, AnyObjectId id) private booleanWalkFetchConnection.downloadPackedObject(ProgressMonitor monitor, AnyObjectId id) private Collection<WalkRemoteObjectDatabase>WalkFetchConnection.expandOneAlternate(AnyObjectId id, ProgressMonitor pm) voidBundleWriter.include(String name, AnyObjectId id) Include an object (and everything reachable from it) in the bundle.private voidBasePackFetchConnection.markAdvertised(AnyObjectId id) private static StringWantNotValidException.msg(AnyObjectId id) protected PackedObjectInfoPackParser.newInfo(AnyObjectId id, PackParser.UnresolvedDelta delta, ObjectId deltaBase) Construct a PackedObjectInfo instance for this parser.protected abstract voidPackParser.onBeginRefDelta(long deltaStreamPosition, AnyObjectId baseId, long inflatedSize) Event notifying start of a delta referencing its base by ObjectId.private voidWalkFetchConnection.recordError(AnyObjectId id, Throwable what) private PackParser.UnresolvedDeltaPackParser.removeBaseById(AnyObjectId id) private voidWalkFetchConnection.verifyAndInsertLooseObject(AnyObjectId id, byte[] compressed) protected voidPackParser.verifySafeObject(AnyObjectId id, int type, byte[] data) Verify the integrity of the object.Constructors in org.eclipse.jgit.transport with parameters of type AnyObjectIdModifierConstructorDescription(package private)(package private)PackedObjectInfo(long headerOffset, int packedCRC, AnyObjectId id) Create a new structure to remember information about an object.(package private)TrackingRefUpdate(boolean canForceUpdate, String remoteName, String localName, AnyObjectId oldValue, AnyObjectId newValue) 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 TypeMethodDescriptionintTreeWalk.addTree(AnyObjectId id) Add an already existing tree object for walking.final CanonicalTreeParserCanonicalTreeParser.createSubtreeIterator0(ObjectReader reader, AnyObjectId id) Back door to quickly create a subtree iterator for any subtree.static TreeWalkTreeWalk.forPath(ObjectReader reader, String path, AnyObjectId... trees) Open a tree walk and filter to exactly one path.static TreeWalkTreeWalk.forPath(Repository db, String path, AnyObjectId... trees) Open a tree walk and filter to exactly one path.static TreeWalkTreeWalk.forPath(Repository repo, ObjectReader reader, String path, AnyObjectId... trees) Open a tree walk and filter to exactly one path.private static AttributesNodeCanonicalTreeParser.loadAttributes(ObjectReader reader, AnyObjectId id) private CanonicalTreeParserTreeWalk.parserFor(AnyObjectId id) voidCanonicalTreeParser.reset(ObjectReader reader, AnyObjectId id) Reset this parser to walk through the given tree.voidTreeWalk.reset(AnyObjectId id) Reset this walker to run over a single existing tree.voidTreeWalk.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