Uses of Class
org.eclipse.jgit.errors.CorruptObjectException
Packages that use CorruptObjectException
Package
Description
Comparing file contents by computing diffs.
Reading and editing the directory cache (index).
File based repository storage.
Core API for repository, config, refs, object database.
Git notes processing (for commits, etc).
Walking revision graphs (commit history).
Git submodule support.
Transport (fetch/push) for different protocols.
Walking and comparing directory/file trees (of commits, file system).
Utility classes.
-
Uses of CorruptObjectException in org.eclipse.jgit.diff
Methods in org.eclipse.jgit.diff that throw CorruptObjectExceptionModifier and TypeMethodDescriptionDiffFormatter.toFileHeader(DiffEntry ent) Creates aFileHeaderrepresenting the givenDiffEntry -
Uses of CorruptObjectException in org.eclipse.jgit.dircache
Methods in org.eclipse.jgit.dircache that throw CorruptObjectExceptionModifier and TypeMethodDescriptionstatic DirCacheCreate a new in-core index representation, lock it, and read from disk.static DirCacheDirCache.lock(File indexLocation, FS fs, IndexChangedListener indexChangedListener) Create a new in-core index representation, lock it, and read from disk.static DirCacheDirCache.lock(Repository repository, IndexChangedListener indexChangedListener) Create a new in-core index representation, lock it, and read from disk.voidDirCacheCheckout.prescanOneTree()Scan index and merge tree (no HEAD).voidDirCacheCheckout.preScanTwoTrees()Scan head, index and merge tree.voidDirCache.read()Read the index from disk, if it has changed on disk.static DirCacheCreate a new in-core index representation and read an index from disk.static DirCacheDirCache.read(Repository repository) Create a new in-core index representation and read an index from disk.voidDirCacheBuildIterator.skip()Advance to the next tree entry, populating this iterator with its data. -
Uses of CorruptObjectException in org.eclipse.jgit.internal.storage.file
Methods in org.eclipse.jgit.internal.storage.file that throw CorruptObjectExceptionModifier and TypeMethodDescriptionlongPackReverseIndex.findNextOffset(long offset, long maxOffset) Search for the next offset to the specified offset in this pack (reverse) index.static PackIndexPackIndex.read(InputStream fd) Read an existing pack index file from a buffered stream. -
Uses of CorruptObjectException in org.eclipse.jgit.lib
Methods in org.eclipse.jgit.lib that throw CorruptObjectExceptionModifier and TypeMethodDescriptionvoidObjectChecker.check(int objType, byte[] raw) Check an object for parsing errors.voidObjectChecker.check(AnyObjectId id, int objType, byte[] raw) Check an object for parsing errors.voidObjectChecker.checkBlob(byte[] raw) Check a blob for errors.voidObjectChecker.checkCommit(byte[] raw) Check a commit for errors.voidObjectChecker.checkCommit(AnyObjectId id, byte[] raw) Check a commit for errors.voidObjectChecker.checkPath(byte[] raw, int ptr, int end) Check tree path entry for validity.voidCheck tree path entry for validity.voidObjectChecker.checkPathSegment(byte[] raw, int ptr, int end) Check tree path entry for validity.voidObjectChecker.checkTag(byte[] raw) Check an annotated tag for errors.voidObjectChecker.checkTag(AnyObjectId id, byte[] raw) Check an annotated tag for errors.voidObjectChecker.checkTree(byte[] raw) Check a canonical formatted tree for errors.voidObjectChecker.checkTree(AnyObjectId id, byte[] raw) Check a canonical formatted tree for errors.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.Repository.lockDirCache()Create a new in-core index representation, lock it, and read from disk.Repository.readDirCache()Create a new in-core index representation and read an index from disk. -
Uses of CorruptObjectException in org.eclipse.jgit.notes
Methods in org.eclipse.jgit.notes that throw CorruptObjectExceptionModifier 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 CorruptObjectException in org.eclipse.jgit.revwalk
Methods in org.eclipse.jgit.revwalk that throw CorruptObjectException -
Uses of CorruptObjectException in org.eclipse.jgit.submodule
Methods in org.eclipse.jgit.submodule that throw CorruptObjectExceptionModifier and TypeMethodDescriptionSubmoduleWalk.setTree(AbstractTreeIterator iterator) Set the tree iterator used for finding submodule entries -
Uses of CorruptObjectException in org.eclipse.jgit.transport
Methods in org.eclipse.jgit.transport that throw CorruptObjectExceptionModifier and TypeMethodDescriptionprotected voidPackParser.verifySafeObject(AnyObjectId id, int type, byte[] data) Verify the integrity of the object. -
Uses of CorruptObjectException in org.eclipse.jgit.treewalk
Methods in org.eclipse.jgit.treewalk that throw CorruptObjectExceptionModifier and TypeMethodDescriptionintTreeWalk.addTree(AnyObjectId id) Add an already existing tree object for walking.abstract voidAbstractTreeIterator.back(int delta) Move to prior entry, populating this iterator with the entry data.voidEmptyTreeIterator.back(int delta) Move to prior entry, populating this iterator with the entry data.voidWorkingTreeIterator.back(int delta) Move to prior entry, populating this iterator with the entry data.voidTreeWalk.enterSubtree()Enter into the current subtree.booleanAbstractTreeIterator.findFile(byte[] name) Seek the iterator on a file, if present.booleanSeek the iterator on a file, if present.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.abstract voidAbstractTreeIterator.next(int delta) Move to next entry, populating this iterator with the entry data.voidEmptyTreeIterator.next(int delta) Move to next entry, populating this iterator with the entry data.booleanTreeWalk.next()Advance this walker to the next relevant entry.voidWorkingTreeIterator.next(int delta) Move to next entry, populating this iterator with the entry data.voidAbstractTreeIterator.reset()Position this iterator on the first entry.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.voidAbstractTreeIterator.skip()Advance to the next tree entry, populating this iterator with its data. -
Uses of CorruptObjectException in org.eclipse.jgit.util
Methods in org.eclipse.jgit.util that throw CorruptObjectException