Skip to main content

recover_partial_commit

Function recover_partial_commit 

Source
pub fn recover_partial_commit(
    root: &Path,
    branch: &str,
    epoch_before: &GitOid,
    epoch_candidate: &GitOid,
) -> Result<CommitRecovery, CommitError>
Expand description

Crash-recover COMMIT phase by inspecting refs and finalizing if safe.