Uses of Class
org.eclipse.jgit.lib.AnyObjectId
-
Packages that use AnyObjectId Package Description org.eclipse.jgit.api High-level API commands (the porcelain of JGit).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.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.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.revplot Building/rendering revision graphs.org.eclipse.jgit.revwalk Walking revision graphs (commit history).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). -
-
Uses of AnyObjectId in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api with parameters of type AnyObjectId Modifier and Type Method Description LogCommandLogCommand. add(AnyObjectId start)Mark a commit to start graph traversal from.LogCommandLogCommand. addRange(AnyObjectId since, AnyObjectId until)Adds the rangesince..untilCherryPickCommandCherryPickCommand. include(String name, AnyObjectId commit)CherryPickCommandCherryPickCommand. include(AnyObjectId commit)MergeCommandMergeCommand. include(String name, AnyObjectId aCommit)MergeCommandMergeCommand. include(AnyObjectId aCommit)RevertCommandRevertCommand. include(String name, AnyObjectId commit)RevertCommandRevertCommand. include(AnyObjectId commit)LogCommandLogCommand. not(AnyObjectId start)Same as--not start, or^startBlameCommandBlameCommand. reverse(AnyObjectId start, Collection<ObjectId> end)Configure the generator to compute reverse blame (history of deletes).BlameCommandBlameCommand. reverse(AnyObjectId start, AnyObjectId end)Configure the command to compute reverse blame (history of deletes).BlameCommandBlameCommand. setStartCommit(AnyObjectId commit)Set start commit idRebaseCommandRebaseCommand. setUpstream(AnyObjectId upstream) -
Uses of AnyObjectId in org.eclipse.jgit.blame
Methods in org.eclipse.jgit.blame with parameters of type AnyObjectId Modifier and Type Method Description BlameGeneratorBlameGenerator. push(String description, AnyObjectId id)Push a candidate object onto the generator's traversal stack.BlameGeneratorBlameGenerator. reverse(AnyObjectId start, Collection<? extends ObjectId> end)Configure the generator to compute reverse blame (history of deletes).BlameGeneratorBlameGenerator. 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 AnyObjectId Modifier and Type Method Description voidDiffFormatter. format(AnyObjectId a, AnyObjectId b)Format the differences between two trees.List<DiffEntry>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 AnyObjectId Modifier and Type Method Description voidDirCacheBuilder. addTree(byte[] pathPrefix, int stage, ObjectReader reader, AnyObjectId tree)Recursively add an entire tree into this builder.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 AnyObjectId Modifier and Type Method Description voidLargeObjectException. setObjectId(AnyObjectId id)Set the identity of the object, if its not already set.Constructors in org.eclipse.jgit.errors with parameters of type AnyObjectId Constructor Description CorruptObjectException(AnyObjectId id, String why)Construct a CorruptObjectException for reporting a problem specified object idLargeObjectException(AnyObjectId id)Create a large object exception, naming the object that is too big. -
Uses of AnyObjectId in org.eclipse.jgit.internal.storage.dfs
Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type AnyObjectId Modifier and Type Method Description longDfsReader. getObjectSize(AnyObjectId objectId, int typeHint)booleanDfsReader. has(AnyObjectId objectId)booleanDfsPackFile. hasObject(DfsReader ctx, AnyObjectId id)Check if an object is stored within this pack.org.eclipse.jgit.internal.storage.dfs.DfsObjectToPackDfsReader. newObjectToPack(AnyObjectId objectId, int type)protected voidDfsPackParser. onBeginRefDelta(long streamPosition, AnyObjectId baseId, long inflatedSize)ObjectLoaderDfsReader. open(AnyObjectId objectId, int typeHint) -
Uses of AnyObjectId in org.eclipse.jgit.internal.storage.file
Subclasses of AnyObjectId in org.eclipse.jgit.internal.storage.file Modifier and Type Class Description classPackBitmapIndexRemapper.EntryAn entry in the old PackBitmapIndex.Methods in org.eclipse.jgit.internal.storage.file with parameters of type AnyObjectId Modifier and Type Method Description 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.FileObjectDirectory. 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).abstract longPackIndex. findOffset(AnyObjectId objId)Locate the file offset position for the requested object.abstract intPackBitmapIndex. findPosition(AnyObjectId objectId)Finds the position in the bitmap of the object.intPackBitmapIndexBuilder. findPosition(AnyObjectId objectId)intPackBitmapIndexRemapper. findPosition(AnyObjectId objectId)org.eclipse.jgit.internal.storage.file.BitmapIndexImpl.CompressedBitmapBitmapIndexImpl. getBitmap(AnyObjectId objectId)abstract com.googlecode.javaewah.EWAHCompressedBitmapPackBitmapIndex. getBitmap(AnyObjectId objectId)Returns the previously constructed bitmap for the object.com.googlecode.javaewah.EWAHCompressedBitmapPackBitmapIndexRemapper. getBitmap(AnyObjectId objectId)booleanObjectDirectory. has(AnyObjectId objectId)booleanPackFile. 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.protected voidObjectDirectoryPackParser. onBeginRefDelta(long streamPosition, AnyObjectId baseId, long inflatedSize)static ObjectLoaderUnpackedObject. 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.pack Modifier and Type Class Description classObjectToPackPer-object state used byPackWriter.Methods in org.eclipse.jgit.internal.storage.pack with parameters of type AnyObjectId Modifier and Type Method Description booleanPackWriter.ObjectIdSet. contains(AnyObjectId objectId)Returns true if the objectId is contained within the collection.ObjectToPackPackWriter. get(AnyObjectId id)Lookup the ObjectToPack object for a given ObjectId.ObjectToPackObjectReuseAsIs. newObjectToPack(AnyObjectId objectId, int type)Allocate a newPackWriterstate structure for an object.booleanPackWriter. 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 AnyObjectId Constructor Description ObjectToPack(AnyObjectId src, int type)Construct for the specified object id. -
Uses of AnyObjectId in org.eclipse.jgit.lib
Subclasses of AnyObjectId in org.eclipse.jgit.lib Modifier and Type Class Description classMutableObjectIdA mutable SHA-1 abstraction.classObjectIdA SHA-1 abstraction.static classObjectIdOwnerMap.EntryType of entry stored in theObjectIdOwnerMap.Methods in org.eclipse.jgit.lib that return types with arguments of type AnyObjectId Modifier and Type Method Description Map<AnyObjectId,Set<Ref>>Repository. getAllRefsByPeeledObjectId()Methods in org.eclipse.jgit.lib with parameters of type AnyObjectId Modifier and Type Method Description AbbreviatedObjectIdObjectReader. abbreviate(AnyObjectId objectId)Obtain a unique abbreviation (prefix) of an object SHA-1.AbbreviatedObjectIdObjectReader. abbreviate(AnyObjectId objectId, int len)Obtain a unique abbreviation (prefix) of an object SHA-1.booleanBitmapIndex.BitmapBuilder. add(AnyObjectId objectId, int type)Adds the id and the existing bitmap for the id, if one exists, 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[] 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.intAnyObjectId. compareTo(AnyObjectId other)Compare this ObjectId to another and obtain a sort ordering.booleanBitmapIndex.BitmapBuilder. contains(AnyObjectId objectId)Whether the bitmap has the id set.booleanObjectIdOwnerMap. contains(AnyObjectId toFind)Returns true if this map contains the specified object.booleanObjectIdSubclassMap. contains(AnyObjectId toFind)Returns true if this map contains the specified object.static intConstants. decodeTypeString(AnyObjectId id, byte[] typeString, byte endMark, MutableInteger offset)Parse an encoded type string into a type constant.booleanAnyObjectId. equals(AnyObjectId other)Determine if this ObjectId has exactly the same value as another.static booleanAnyObjectId. equals(AnyObjectId firstObjectId, AnyObjectId secondObjectId)Compare to object identifier byte sequences for equality.static AbbreviatedObjectIdAbbreviatedObjectId. fromObjectId(AnyObjectId id)Convert an AbbreviatedObjectId from anAnyObjectId.voidMutableObjectId. fromObjectId(AnyObjectId src)Copy an ObjectId into this mutable buffer.VObjectIdOwnerMap. get(AnyObjectId toFind)Lookup an existing mapping.VObjectIdSubclassMap. get(AnyObjectId toFind)Lookup an existing mapping.BitmapIndex.BitmapBitmapIndex. getBitmap(AnyObjectId objectId)Get the bitmap for the id.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. 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)ObjectLoaderObjectDatabase. open(AnyObjectId objectId)Open an object from this database.ObjectLoaderObjectDatabase. open(AnyObjectId objectId, int typeHint)Open an object from this database.ObjectLoaderObjectReader. open(AnyObjectId objectId)Open an object from this database.abstract ObjectLoaderObjectReader. open(AnyObjectId objectId, int typeHint)Open an object from this database.ObjectLoaderRepository. open(AnyObjectId objectId)Open an object from this repository.ObjectLoaderRepository. open(AnyObjectId objectId, int typeHint)Open an object from this repository.intAbbreviatedObjectId. prefixCompare(AnyObjectId other)Compares this abbreviation to a full object id.voidBitmapIndex.BitmapBuilder. remove(AnyObjectId objectId)Remove the id from the bitmap.voidRefUpdate. setExpectedOldObjectId(AnyObjectId id)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 objectMethod parameters in org.eclipse.jgit.lib with type arguments of type AnyObjectId Modifier and Type Method Description voidCommitBuilder. setParentIds(List<? extends AnyObjectId> newParents)Set the parents of this commit.Constructors in org.eclipse.jgit.lib with parameters of type AnyObjectId Constructor Description BlobBasedConfig(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.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 AnyObjectId Modifier and Type Method Description booleanMerger. 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)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.notes Modifier and Type Class Description classNoteIn-memory representation of a single note attached to one object.Methods in org.eclipse.jgit.notes with parameters of type AnyObjectId Modifier and Type Method Description booleanNoteMap. contains(AnyObjectId id)Determine if a note exists for the specified ObjectId.ObjectIdNoteMap. 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.NoteNoteMap. getNote(AnyObjectId id)Lookup a note for a specific ObjectId.voidNoteMap. remove(AnyObjectId noteOn)Remove a note from an object.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 AnyObjectId Constructor Description Note(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.revplot Modifier and Type Class Description classPlotCommit<L extends PlotLane>A commit reference to a commit in the DAG.Methods in org.eclipse.jgit.revplot with parameters of type AnyObjectId Modifier and Type Method Description protected RevCommitPlotWalk. createCommit(AnyObjectId id)Constructors in org.eclipse.jgit.revplot with parameters of type AnyObjectId Constructor Description PlotCommit(AnyObjectId id)Create a new commit. -
Uses of AnyObjectId in org.eclipse.jgit.revwalk
Subclasses of AnyObjectId in org.eclipse.jgit.revwalk Modifier and Type Class Description static classDepthWalk.CommitRevCommit with a depth (in commits) from a root.classRevBlobA binary file, or a symbolic link.classRevCommitA commit reference to a commit in the DAG.classRevObjectBase object type accessed during revision walking.classRevTagAn annotated tag.classRevTreeA reference to a tree of subtrees/files.Methods in org.eclipse.jgit.revwalk with parameters of type AnyObjectId Modifier and Type Method Description protected 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.RevObjectRevWalk. lookupAny(AnyObjectId id, int type)Locate a reference to any object without loading it.RevBlobRevWalk. lookupBlob(AnyObjectId id)Locate a reference to a blob without loading it.RevCommitRevWalk. lookupCommit(AnyObjectId id)Locate a reference to a commit without loading it.RevObjectRevWalk. lookupOrNull(AnyObjectId id)Locate an object that was previously allocated in this walk.RevTagRevWalk. lookupTag(AnyObjectId id)Locate a reference to a tag without loading it.RevTreeRevWalk. lookupTree(AnyObjectId id)Locate a reference to a tree without loading it.RevObjectRevWalk. parseAny(AnyObjectId id)Locate a reference to any object and immediately parse its headers.RevCommitRevWalk. parseCommit(AnyObjectId id)Locate a reference to a commit and immediately parse its content.RevTagRevWalk. parseTag(AnyObjectId id)Locate a reference to an annotated tag and immediately parse its content.RevTreeRevWalk. parseTree(AnyObjectId id)Locate a reference to a tree.Constructors in org.eclipse.jgit.revwalk with parameters of type AnyObjectId Constructor Description Commit(AnyObjectId id)Initialize a new commit.RevBlob(AnyObjectId id)Create a new blob reference.RevCommit(AnyObjectId id)Create a new commit reference.RevTag(AnyObjectId id)Create a new tag reference.RevTree(AnyObjectId id)Create a new tree reference. -
Uses of AnyObjectId in org.eclipse.jgit.submodule
Methods in org.eclipse.jgit.submodule with parameters of type AnyObjectId Modifier and Type Method Description static SubmoduleWalkSubmoduleWalk. forPath(Repository repository, AnyObjectId treeId, String path)Create a generator and advance it to the submodule entry at the given pathSubmoduleWalkSubmoduleWalk. setRootTree(AnyObjectId id)Set the tree used by this walk for finding.gitmodules.SubmoduleWalkSubmoduleWalk. 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.transport Modifier and Type Class Description classPackedObjectInfoDescription of an object stored in a pack file, including offset.Methods in org.eclipse.jgit.transport with parameters of type AnyObjectId Modifier and Type Method Description 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.voidBundleWriter. include(String name, AnyObjectId id)Include an object (and everything reachable from it) in the bundle.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.Constructors in org.eclipse.jgit.transport with parameters of type AnyObjectId Constructor Description PackedObjectInfo(AnyObjectId id)Create a new structure to remember information about an object. -
Uses of AnyObjectId in org.eclipse.jgit.treewalk
Methods in org.eclipse.jgit.treewalk with parameters of type AnyObjectId Modifier and Type Method Description intTreeWalk. addTree(AnyObjectId id)Add an already existing tree object for walking.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.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.CanonicalTreeParserCanonicalTreeParser. resetRoot(ObjectReader reader, AnyObjectId id)Reset this parser to walk through the given tree.Constructors in org.eclipse.jgit.treewalk with parameters of type AnyObjectId Constructor Description CanonicalTreeParser(byte[] prefix, ObjectReader reader, AnyObjectId treeId)Create a new parser for a tree appearing in a subset of a repository.
-