pub async fn undo_last_mutation(project_dir: &Path) -> Result<UndoOutcome>Expand description
Revert the most recent completed board mutation.
The operation runs under the board write lock, serializing it against other writers just like an
ordinary mutation. On the Git backend it creates a revert commit and returns the reverted
subject; on backends without history it returns crate::error::Error::UndoUnsupported.