Package org.eclipse.jgit.internal.fsck
Class FsckError.CorruptIndex
- java.lang.Object
-
- org.eclipse.jgit.internal.fsck.FsckError.CorruptIndex
-
- Enclosing class:
- FsckError
public static class FsckError.CorruptIndex extends java.lang.Object
Represents a corrupt pack index file.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) CorruptPackIndexException.ErrorType
errorType
(package private) java.lang.String
fileName
-
Constructor Summary
Constructors Constructor Description CorruptIndex(java.lang.String fileName, CorruptPackIndexException.ErrorType errorType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CorruptPackIndexException.ErrorType
getErrorType()
java.lang.String
getFileName()
-
-
-
Field Detail
-
fileName
java.lang.String fileName
-
errorType
CorruptPackIndexException.ErrorType errorType
-
-
Constructor Detail
-
CorruptIndex
public CorruptIndex(java.lang.String fileName, CorruptPackIndexException.ErrorType errorType)
- Parameters:
fileName
- the file name of the pack index.errorType
- the type of error as reported inCorruptPackIndexException
.
-
-
Method Detail
-
getFileName
public java.lang.String getFileName()
- Returns:
- the file name of the index file.
-
getErrorType
public CorruptPackIndexException.ErrorType getErrorType()
- Returns:
- the error type of the corruption.
-
-