handle_fsck

Function handle_fsck 

Source
fn handle_fsck(
    args: &Fsck,
    main_epoch: &mut EpochConfig,
) -> Result<(), AppError>
Expand description

Perform a filesystem consistency check on the epoch data.

The function invokes the internal consistency-check logic of EpochConfig. It is intended for use from the fsck sub-command and does not modify the current epoch. Any problems that are detected are reported through the returned Result; the command may also print a diagnostic message to the user.

This helper is internal to the epoch sub-command.