Package org.eclipse.jgit.internal.fsck
Class FsckError
java.lang.Object
org.eclipse.jgit.internal.fsck.FsckError
Holds all fsck errors of a git repository.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Represents a corrupt pack index file.static class
Represents a corrupt object. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Set<FsckError.CorruptIndex>
private final Set<FsckError.CorruptObject>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet corrupt index files associated with the packsGet corrupt objects from all pack filesGet missing objects that should present in pack filesGet refs/heads/* which point to non-commit object
-
Field Details
-
corruptObjects
-
missingObjects
-
corruptIndices
-
nonCommitHeads
-
-
Constructor Details
-
FsckError
public FsckError()
-
-
Method Details
-
getCorruptObjects
Get corrupt objects from all pack files- Returns:
- corrupt objects from all pack files
-
getMissingObjects
Get missing objects that should present in pack files- Returns:
- missing objects that should present in pack files
-
getCorruptIndices
Get corrupt index files associated with the packs- Returns:
- corrupt index files associated with the packs
-
getNonCommitHeads
Get refs/heads/* which point to non-commit object- Returns:
- refs/heads/* which point to non-commit object
-