public class DfsFsck extends Object
Constructor and Description |
---|
DfsFsck(DfsRepository repository)
Initialize DFS fsck.
|
Modifier and Type | Method and Description |
---|---|
FsckError |
check(ProgressMonitor pm)
Verify the integrity and connectivity of all objects in the object
database.
|
void |
setObjectChecker(ObjectChecker objChecker)
Use a customized object checker instead of the default one.
|
public DfsFsck(DfsRepository repository)
repository
- the dfs repository to check.public FsckError check(ProgressMonitor pm) throws IOException
pm
- callback to provide progress feedback during the check.IOException
- if encounters IO errors during the process.public void setObjectChecker(ObjectChecker objChecker)
objChecker
- A customized object checker.Copyright © 2017 Eclipse JGit Project. All rights reserved.