Skip to main content

redo

Function redo 

Source
pub fn redo(source: &Path, backup_dir: &Path, count: usize) -> Result<()>
Expand description

Restore from the Nth most recent consumed (.undone) backup (1-indexed), reversing the last N undo operations.

After restoration all consumed backups are converted back to .bak, fully resetting the undo state.