Uses of Class
org.eclipse.jgit.errors.CorruptObjectException
-
Packages that use CorruptObjectException Package Description org.eclipse.jgit.diff Comparing file contents by computing diffs.org.eclipse.jgit.dircache Reading and editing the directory cache (index).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.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.pgm 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).org.eclipse.jgit.util Utility classes. -
-
Uses of CorruptObjectException in org.eclipse.jgit.diff
Methods in org.eclipse.jgit.diff that throw CorruptObjectException Modifier and Type Method Description private DiffFormatter.FormatResultDiffFormatter. createFormatResult(DiffEntry ent)FileHeaderDiffFormatter. toFileHeader(DiffEntry ent)Creates aFileHeaderrepresenting the givenDiffEntry -
Uses of CorruptObjectException in org.eclipse.jgit.dircache
Methods in org.eclipse.jgit.dircache that throw CorruptObjectException Modifier and Type Method Description private booleanDirCacheCheckout. doCheckout()private booleanDirCacheCheckout. isModified_IndexTree(java.lang.String path, ObjectId iId, FileMode iMode, ObjectId tId, FileMode tMode, ObjectId rootTree)private booleanDirCacheCheckout. isModifiedSubtree_IndexTree(java.lang.String path, ObjectId tree)Checks whether the subtree starting at a given path differs between Index and some tree.private booleanDirCacheCheckout. isModifiedSubtree_IndexWorkingtree(java.lang.String path)Checks whether the subtree starting at a given path differs between Index and workingtree.static DirCacheDirCache. lock(java.io.File indexLocation, FS fs)Create a new in-core index representation, lock it, and read from disk.static DirCacheDirCache. lock(java.io.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 DirCacheDirCache. read(java.io.File indexLocation, FS fs)Create 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.private voidDirCache. readFrom(java.io.InputStream inStream)voidDirCacheBuildIterator. 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 CorruptObjectException Modifier and Type Method Description private 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 CorruptObjectException Modifier and Type Method Description (package private) static voidUnpackedObject. checkValidEndOfStream(java.io.InputStream in, java.util.zip.Inflater inf, AnyObjectId id, byte[] buf)private longPack. findEndOffset(long startOffset)longPackReverseIndex. 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)private java.util.Set<ObjectId>GC. listNonHEADIndexObjects()Return a list of those objects in the index which differ from whats in HEADstatic PackIndexPackIndex. read(java.io.InputStream fd)Read an existing pack index file from a buffered stream.Constructors in org.eclipse.jgit.internal.storage.file that throw CorruptObjectException Constructor Description PackIndexV1(java.io.InputStream fd, byte[] hdr) -
Uses of CorruptObjectException in org.eclipse.jgit.lib
Methods in org.eclipse.jgit.lib that throw CorruptObjectException Modifier and Type Method Description voidObjectChecker. 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.private voidObjectChecker. checkNotWindowsDevice(byte[] raw, int ptr, int end, AnyObjectId id)voidObjectChecker. checkPath(byte[] raw, int ptr, int end)Check tree path entry for validity.voidObjectChecker. checkPath(java.lang.String path)Check tree path entry for validity.voidObjectChecker. checkPathSegment(byte[] raw, int ptr, int end)Check tree path entry for validity.private voidObjectChecker. checkPathSegment2(byte[] raw, int ptr, int end, AnyObjectId id)private voidObjectChecker. checkPersonIdent(byte[] raw, AnyObjectId id)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.private booleanObjectChecker. checkTruncatedIgnorableUTF8(byte[] raw, int ptr, int end, AnyObjectId id)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.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)DirCacheRepository. lockDirCache()Create a new in-core index representation, lock it, and read from disk.DirCacheRepository. readDirCache()Create a new in-core index representation and read an index from disk.private voidObjectChecker. report(ObjectChecker.ErrorType err, AnyObjectId id, java.lang.String why)private intObjectChecker. 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 CorruptObjectException Modifier and Type Method Description protected voidResolveMerger. cleanUp()Reverts the worktree after an unsuccessful merge.protected booleanResolveMerger. 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 CorruptObjectException Modifier and Type Method Description private voidNoteMap. load(ObjectId rootTree)static 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.pgm
Methods in org.eclipse.jgit.pgm that throw CorruptObjectException Modifier and Type Method Description private voidShow. show(RevTree obj) -
Uses of CorruptObjectException in org.eclipse.jgit.revwalk
Methods in org.eclipse.jgit.revwalk that throw CorruptObjectException Modifier and Type Method Description static RevTagRevTag. parse(byte[] raw)Parse an annotated tag from its canonical format.static RevTagRevTag. parse(RevWalk rw, byte[] raw)Parse an annotated tag from its canonical format.(package private) voidRevTag. parseCanonical(RevWalk walk, byte[] rawTag)private RevObjectRevWalk. parseNew(AnyObjectId id, ObjectLoader ldr)private voidTreeRevFilter. updateFollowFilter(ObjectId[] trees, DiffConfig cfg) -
Uses of CorruptObjectException in org.eclipse.jgit.submodule
Methods in org.eclipse.jgit.submodule that throw CorruptObjectException Modifier and Type Method Description SubmoduleWalkSubmoduleWalk. 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 CorruptObjectException Modifier and Type Method Description protected 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 CorruptObjectException Modifier and Type Method Description intTreeWalk. 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.private AbstractTreeIteratorNameConflictTreeWalk. combineDF(AbstractTreeIterator minRef)voidTreeWalk. enterSubtree()Enter into the current subtree.booleanAbstractTreeIterator. findFile(byte[] name)Seek the iterator on a file, if present.booleanAbstractTreeIterator. findFile(java.lang.String name)Seek the iterator on a file, if present.static TreeWalkTreeWalk. forPath(ObjectReader reader, java.lang.String path, AnyObjectId... trees)Open a tree walk and filter to exactly one path.static TreeWalkTreeWalk. forPath(Repository db, java.lang.String path, AnyObjectId... trees)Open a tree walk and filter to exactly one path.static TreeWalkTreeWalk. forPath(Repository db, java.lang.String path, RevTree tree)Open a tree walk and filter to exactly one path.static TreeWalkTreeWalk. forPath(Repository repo, ObjectReader reader, java.lang.String path, AnyObjectId... trees)Open a tree walk and filter to exactly one path.(package private) AbstractTreeIteratorNameConflictTreeWalk. min()(package private) AbstractTreeIteratorTreeWalk. min()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.(package private) voidNameConflictTreeWalk. popEntriesEqual()(package private) voidTreeWalk. popEntriesEqual()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.(package private) voidNameConflictTreeWalk. skipEntriesEqual()(package private) voidTreeWalk. skipEntriesEqual()private booleanNameConflictTreeWalk. skipEntry(AbstractTreeIterator minRef) -
Uses of CorruptObjectException in org.eclipse.jgit.util
Methods in org.eclipse.jgit.util that throw CorruptObjectException Modifier and Type Method Description voidSystemReader. checkPath(byte[] path)Check tree path entry for validity.voidSystemReader. checkPath(java.lang.String path)Check tree path entry for validity.
-