Skip to main content

recover_staged_reset_files

Function recover_staged_reset_files 

Source
fn recover_staged_reset_files(
    db: &Path,
    admission: Option<&ProjectStateGuard>,
    recovery: &Path,
    staged: &[(PathBuf, PathBuf)],
    operation: CliError,
) -> CliError
Expand description

Restore only through the retained reset namespace; otherwise retain its files.