Skip to main content

undo

Function undo 

Source
pub fn undo(id: Option<&str>, yes: bool, global_yes: bool) -> Result<()>
Expand description

Undoes a transaction by reverting all of its recorded operations in reverse order. Falls back to the most recent transaction when no ID is given.

ยงErrors

Returns an error if the transaction cannot be read or the revert fails.