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).
Distributed file system based repository storage.
File based repository storage.
Core API for repository, config, refs, object database.
Content and commit history merge algorithms.
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 TypeMethodDescriptionprivate DiffFormatter.FormatResult
DiffFormatter.createFormatResult
(DiffEntry ent) DiffFormatter.toFileHeader
(DiffEntry ent) Creates aFileHeader
representing the givenDiffEntry
-
Uses of CorruptObjectException in org.eclipse.jgit.dircache
Methods in org.eclipse.jgit.dircache that throw CorruptObjectExceptionModifier and TypeMethodDescriptionprivate boolean
DirCacheCheckout.doCheckout()
private boolean
DirCacheCheckout.isModified_IndexTree
(String path, ObjectId iId, FileMode iMode, ObjectId tId, FileMode tMode, ObjectId rootTree) private boolean
DirCacheCheckout.isModifiedSubtree_IndexTree
(String path, ObjectId tree) Checks whether the subtree starting at a given path differs between Index and some tree.private boolean
DirCacheCheckout.isModifiedSubtree_IndexWorkingtree
(String path) Checks whether the subtree starting at a given path differs between Index and workingtree.static DirCache
Create a new in-core index representation, lock it, and read from disk.static DirCache
DirCache.lock
(File indexLocation, FS fs, IndexChangedListener indexChangedListener) Create a new in-core index representation, lock it, and read from disk.static DirCache
DirCache.lock
(Repository repository, IndexChangedListener indexChangedListener) Create a new in-core index representation, lock it, and read from disk.void
DirCacheCheckout.prescanOneTree()
Scan index and merge tree (no HEAD).void
DirCacheCheckout.preScanTwoTrees()
Scan head, index and merge tree.void
DirCache.read()
Read the index from disk, if it has changed on disk.static DirCache
Create a new in-core index representation and read an index from disk.static DirCache
DirCache.read
(Repository repository) Create a new in-core index representation and read an index from disk.private void
DirCache.readFrom
(InputStream inStream) void
DirCacheBuildIterator.skip()
Advance to the next tree entry, populating this iterator with its data. -
Uses of CorruptObjectException in org.eclipse.jgit.internal.storage.dfs
Methods in org.eclipse.jgit.internal.storage.dfs that throw CorruptObjectExceptionModifier and TypeMethodDescriptionprivate byte[]
DfsInserter.Reader.inflate
(PackedObjectInfo obj, long zpos, int sz) -
Uses of CorruptObjectException in org.eclipse.jgit.internal.storage.file
Methods in org.eclipse.jgit.internal.storage.file that throw CorruptObjectExceptionModifier and TypeMethodDescription(package private) static void
UnpackedObject.checkValidEndOfStream
(InputStream in, Inflater inf, AnyObjectId id, byte[] buf) private long
Pack.findEndOffset
(long startOffset) long
PackReverseIndex.findNextOffset
(long offset, long maxOffset) Search for the next offset to the specified offset in this pack (reverse) index.private byte[]
PackInserter.Reader.inflate
(PackedObjectInfo obj, long zpos, int sz) Return a list of those objects in the index which differ from whats in HEADstatic PackIndex
PackIndex.read
(InputStream fd) Read an existing pack index file from a buffered stream.Constructors in org.eclipse.jgit.internal.storage.file that throw CorruptObjectException -
Uses of CorruptObjectException in org.eclipse.jgit.lib
Methods in org.eclipse.jgit.lib that throw CorruptObjectExceptionModifier and TypeMethodDescriptionvoid
ObjectChecker.check
(int objType, byte[] raw) Check an object for parsing errors.void
ObjectChecker.check
(AnyObjectId id, int objType, byte[] raw) Check an object for parsing errors.void
ObjectChecker.checkBlob
(byte[] raw) Check a blob for errors.void
ObjectChecker.checkCommit
(byte[] raw) Check a commit for errors.void
ObjectChecker.checkCommit
(AnyObjectId id, byte[] raw) Check a commit for errors.private void
ObjectChecker.checkNotWindowsDevice
(byte[] raw, int ptr, int end, AnyObjectId id) void
ObjectChecker.checkPath
(byte[] raw, int ptr, int end) Check tree path entry for validity.void
Check tree path entry for validity.void
ObjectChecker.checkPathSegment
(byte[] raw, int ptr, int end) Check tree path entry for validity.private void
ObjectChecker.checkPathSegment2
(byte[] raw, int ptr, int end, AnyObjectId id) private void
ObjectChecker.checkPersonIdent
(byte[] raw, AnyObjectId id) void
ObjectChecker.checkTag
(byte[] raw) Check an annotated tag for errors.void
ObjectChecker.checkTag
(AnyObjectId id, byte[] raw) Check an annotated tag for errors.void
ObjectChecker.checkTree
(byte[] raw) Check a canonical formatted tree for errors.void
ObjectChecker.checkTree
(AnyObjectId id, byte[] raw) Check a canonical formatted tree for errors.private boolean
ObjectChecker.checkTruncatedIgnorableUTF8
(byte[] raw, int ptr, int end, AnyObjectId id) 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.private boolean
ObjectChecker.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 boolean
ObjectChecker.isMacHFSGit
(byte[] raw, int ptr, int end, AnyObjectId id) private boolean
ObjectChecker.isMacHFSGitmodules
(byte[] raw, int ptr, int end, AnyObjectId id) private boolean
ObjectChecker.isMacHFSPath
(byte[] raw, int ptr, int end, byte[] path, AnyObjectId id) 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.private void
ObjectChecker.report
(ObjectChecker.ErrorType err, AnyObjectId id, String why) private int
ObjectChecker.scanPathSegment
(byte[] raw, int ptr, int end, AnyObjectId id) -
Uses of CorruptObjectException in org.eclipse.jgit.merge
Methods in org.eclipse.jgit.merge that throw CorruptObjectExceptionModifier and TypeMethodDescriptionprotected void
ResolveMerger.cleanUp()
Reverts the worktree after an unsuccessful merge.protected boolean
ResolveMerger.processEntry
(CanonicalTreeParser base, CanonicalTreeParser ours, CanonicalTreeParser theirs, DirCacheBuildIterator index, WorkingTreeIterator work, boolean ignoreConflicts, Attributes[] attributes) Processes one path and tries to merge taking git attributes in account. -
Uses of CorruptObjectException in org.eclipse.jgit.notes
Methods in org.eclipse.jgit.notes that throw CorruptObjectExceptionModifier and TypeMethodDescriptionprivate void
static NoteMap
NoteMap.read
(ObjectReader reader, RevCommit commit) Load a collection of notes from a branch.static NoteMap
NoteMap.read
(ObjectReader reader, RevTree tree) Load a collection of notes from a tree.static NoteMap
NoteMap.readTree
(ObjectReader reader, ObjectId treeId) Load a collection of notes from a tree. -
Uses of CorruptObjectException in org.eclipse.jgit.pgm
Methods in org.eclipse.jgit.pgm that throw CorruptObjectException -
Uses of CorruptObjectException in org.eclipse.jgit.revwalk
Methods in org.eclipse.jgit.revwalk that throw CorruptObjectExceptionModifier and TypeMethodDescriptionstatic RevTag
RevTag.parse
(byte[] raw) Parse an annotated tag from its canonical format.static RevTag
Parse an annotated tag from its canonical format.(package private) void
RevTag.parseCanonical
(RevWalk walk, byte[] rawTag) private RevObject
RevWalk.parseNew
(AnyObjectId id, ObjectLoader ldr) private void
TreeRevFilter.updateFollowFilter
(ObjectId[] trees, DiffConfig cfg) -
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 void
PackParser.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 TypeMethodDescriptionint
TreeWalk.addTree
(AnyObjectId id) Add an already existing tree object for walking.abstract void
AbstractTreeIterator.back
(int delta) Move to prior entry, populating this iterator with the entry data.void
EmptyTreeIterator.back
(int delta) Move to prior entry, populating this iterator with the entry data.void
WorkingTreeIterator.back
(int delta) Move to prior entry, populating this iterator with the entry data.private AbstractTreeIterator
NameConflictTreeWalk.combineDF
(AbstractTreeIterator minRef) void
TreeWalk.enterSubtree()
Enter into the current subtree.boolean
AbstractTreeIterator.findFile
(byte[] name) Seek the iterator on a file, if present.boolean
Seek the iterator on a file, if present.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 db, String path, RevTree tree) 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.(package private) AbstractTreeIterator
NameConflictTreeWalk.min()
(package private) AbstractTreeIterator
TreeWalk.min()
abstract void
AbstractTreeIterator.next
(int delta) Move to next entry, populating this iterator with the entry data.void
EmptyTreeIterator.next
(int delta) Move to next entry, populating this iterator with the entry data.boolean
TreeWalk.next()
Advance this walker to the next relevant entry.void
WorkingTreeIterator.next
(int delta) Move to next entry, populating this iterator with the entry data.(package private) void
NameConflictTreeWalk.popEntriesEqual()
(package private) void
TreeWalk.popEntriesEqual()
void
AbstractTreeIterator.reset()
Position this iterator on the first entry.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.void
AbstractTreeIterator.skip()
Advance to the next tree entry, populating this iterator with its data.(package private) void
NameConflictTreeWalk.skipEntriesEqual()
(package private) void
TreeWalk.skipEntriesEqual()
private boolean
NameConflictTreeWalk.skipEntry
(AbstractTreeIterator minRef) -
Uses of CorruptObjectException in org.eclipse.jgit.util
Methods in org.eclipse.jgit.util that throw CorruptObjectException