Uses of Class
org.eclipse.jgit.errors.IncorrectObjectTypeException
Packages that use IncorrectObjectTypeException
Package
Description
High-level API commands (the porcelain of JGit).
Reading and editing the directory cache (index).
Distributed file system 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.
Walking and comparing directory/file trees (of commits, file system).
Filters for use in tree walking.
-
Uses of IncorrectObjectTypeException in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionLogCommand.add(AnyObjectId start) Mark a commit to start graph traversal from.LogCommand.addRange(AnyObjectId since, AnyObjectId until) Adds the rangesince..untilLogCommand.not(AnyObjectId start) Same as--not start, or^startListTagCommand.setContains(AnyObjectId commit) Only list tags which contain the specified commit. -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.dircache
Methods in org.eclipse.jgit.dircache that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionDirCacheBuildIterator.createSubtreeIterator(ObjectReader reader) DirCacheIterator.createSubtreeIterator(ObjectReader reader) voidDirCacheCheckout.prescanOneTree()Scan index and merge tree (no HEAD). -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.internal.revwalk
Methods in org.eclipse.jgit.internal.revwalk that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionBitmappedReachabilityChecker.areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters) Check all targets are reachable from the starters.PedestrianReachabilityChecker.areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters) -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.internal.storage.dfs
Methods in org.eclipse.jgit.internal.storage.dfs that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionlongDfsReader.getObjectSize(AnyObjectId objectId, int typeHint) booleanDfsReader.isNotLargerThan(AnyObjectId objectId, int typeHint, long limit) DfsReader.open(AnyObjectId objectId, int typeHint) -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.internal.storage.pack
Methods in org.eclipse.jgit.internal.storage.pack that throw IncorrectObjectTypeException -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.lib
Methods in org.eclipse.jgit.lib that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionlongObjectReader.Filter.getObjectSize(AnyObjectId objectId, int typeHint) longObjectReader.getObjectSize(AnyObjectId objectId, int typeHint) Get only the size of an object.booleanObjectReader.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.ObjectDatabase.open(AnyObjectId objectId, int typeHint) Open an object from this database.ObjectReader.Filter.open(AnyObjectId objectId, int typeHint) abstract ObjectLoaderObjectReader.open(AnyObjectId objectId, int typeHint) Open an object from this database.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.Parse a git revision string and return an object id. -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.merge
Methods in org.eclipse.jgit.merge that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionprotected RevCommitMerger.getBaseCommit(RevCommit a, RevCommit b) Return the merge base of two commits.protected RevCommitRecursiveMerger.getBaseCommit(RevCommit a, RevCommit b) Return the merge base of two commits.protected AbstractTreeIteratorMerger.openTree(AnyObjectId treeId) Open an iterator over a tree.voidThreeWayMerger.setBase(AnyObjectId id) Set the common ancestor tree. -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.notes
Methods in org.eclipse.jgit.notes that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionstatic NoteMapNoteMap.read(ObjectReader reader, RevCommit commit) Load a collection of notes from a branch.static NoteMapNoteMap.read(ObjectReader reader, RevTree tree) Load a collection of notes from a tree.static NoteMapNoteMap.readTree(ObjectReader reader, ObjectId treeId) Load a collection of notes from a tree. -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.revplot
Methods in org.eclipse.jgit.revplot that throw IncorrectObjectTypeException -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.revwalk
Methods in org.eclipse.jgit.revwalk that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionvoidApply a flag to all commits matching the specified filter.voidApply a flag to all commits matching the specified filter.ReachabilityChecker.areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters) Check if all targets are reachable from thestarterscommits.voidObjectWalk.checkConnectivity()Verify all interesting objects are available, and reachable.static intCount the number of commits that are reachable fromstartuntil a commit that is reachable fromendis encountered.voidRevCommitList.fillTo(int highMark) Ensure this list contains at least a specified number of commits.voidEnsures all commits until the given commit are loaded.Find commits that are reachable fromstartuntil a commit that is reachable fromendis encountered.RevWalkUtils.findBranchesReachableFrom(RevCommit commit, RevWalk revWalk, Collection<Ref> refs) Find the list of branches a given commit is reachable from when following parents.RevWalkUtils.findBranchesReachableFrom(RevCommit commit, RevWalk revWalk, Collection<Ref> refs, ProgressMonitor monitor) Find the list of branches a given commit is reachable from when following parents.BitmapWalker.findObjects(Iterable<? extends ObjectId> start, BitmapIndex.BitmapBuilder seen, boolean ignoreMissing) Return, as a bitmap, the objects reachable from the objects in start.booleanbooleanbooleanRevWalk.isMergedInto(RevCommit base, RevCommit tip) Determine if a commit is reachable from another commit.voidMark a root commit (i.e., one whose depth should be considered 0.)voidMark a root commit (i.e., one whose depth should be considered 0.)voidMark an object or commit to start graph traversal from.voidRevWalk.markStart(Collection<RevCommit> list) Mark commits to start graph traversal from.voidMark a commit to start graph traversal from.voidObjectWalk.markUninteresting(RevObject o) Mark an object to not produce in the output.voidRevWalk.markUninteresting(RevCommit c) Mark a commit to not produce in the output.voidDepthWalk.ObjectWalk.markUnshallow(RevObject c) Mark an element which used to be shallow in the client, but which should now be considered a full commit.ObjectWalk.next()RevWalk.next()Pop the next most recent commit.ObjectWalk.nextObject()Pop the next most recent object.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. -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.revwalk.filter
Methods in org.eclipse.jgit.revwalk.filter that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionbooleanbooleanabstract booleanObjectFilter.include(ObjectWalk walker, AnyObjectId objid) Determine if the named object should be included in the walk.booleanDetermine if the supplied commit should be included in results.abstract booleanDetermine if the supplied commit should be included in results.booleanboolean -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.treewalk
Methods in org.eclipse.jgit.treewalk that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionintTreeWalk.addTree(AnyObjectId id) Add an already existing tree object for walking.abstract AbstractTreeIteratorAbstractTreeIterator.createSubtreeIterator(ObjectReader reader) Create a new iterator for the current entry's subtree.AbstractTreeIterator.createSubtreeIterator(ObjectReader reader, MutableObjectId idBuffer) Create a new iterator for the current entry's subtree.CanonicalTreeParser.createSubtreeIterator(ObjectReader reader) CanonicalTreeParser.createSubtreeIterator(ObjectReader reader, MutableObjectId idBuffer) EmptyTreeIterator.createSubtreeIterator(ObjectReader reader) FileTreeIterator.createSubtreeIterator(ObjectReader reader) voidTreeWalk.enterSubtree()Enter into the current 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 db, String path, RevTree tree) 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.booleanTreeWalk.next()Advance this walker to the next relevant entry.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 that throw IncorrectObjectTypeExceptionModifierConstructorDescriptionCanonicalTreeParser(byte[] prefix, ObjectReader reader, AnyObjectId treeId) Create a new parser for a tree appearing in a subset of a repository. -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.treewalk.filter
Methods in org.eclipse.jgit.treewalk.filter that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionintTest the filters against the walk.booleanbooleanbooleanbooleanabstract booleanDetermine if the current entry is interesting to report.intNotTreeFilter.matchFilter(TreeWalk walker) intPathSuffixFilter.matchFilter(TreeWalk walker) intTreeFilter.matchFilter(TreeWalk walker) Determine if the current entry is a parent, a match, or no match.