Package org.eclipse.jgit.internal.fsck
Class FsckError
- java.lang.Object
-
- org.eclipse.jgit.internal.fsck.FsckError
-
public class FsckError extends Object
Holds all fsck errors of a git repository.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FsckError.CorruptIndex
Represents a corrupt pack index file.static class
FsckError.CorruptObject
Represents a corrupt object.
-
Constructor Summary
Constructors Constructor Description FsckError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<FsckError.CorruptIndex>
getCorruptIndices()
Get corrupt index files associated with the packsSet<FsckError.CorruptObject>
getCorruptObjects()
Get corrupt objects from all pack filesSet<ObjectId>
getMissingObjects()
Get missing objects that should present in pack filesSet<String>
getNonCommitHeads()
Get refs/heads/* which point to non-commit object
-
-
-
Method Detail
-
getCorruptObjects
public Set<FsckError.CorruptObject> getCorruptObjects()
Get corrupt objects from all pack files- Returns:
- corrupt objects from all pack files
-
getMissingObjects
public Set<ObjectId> getMissingObjects()
Get missing objects that should present in pack files- Returns:
- missing objects that should present in pack files
-
getCorruptIndices
public Set<FsckError.CorruptIndex> getCorruptIndices()
Get corrupt index files associated with the packs- Returns:
- corrupt index files associated with the packs
-
-