Skip to main content

CommandDebugUndoContext

Trait CommandDebugUndoContext 

Source
pub trait CommandDebugUndoContext {
    // Required method
    fn undo_files(&mut self, force: bool) -> DebugUndoOutcome;
}

Required Methods§

Source

fn undo_files(&mut self, force: bool) -> DebugUndoOutcome

Undoes the last request’s file changes, and removes that request from the conversation when it is still its last one. Preserves snapshot ownership, regular-file checks, backup and preflight, and asks for no trust: it only puts back, inside the workspace, what that request changed. force never waives owned identity or a complete write record. Never falls back to chat truncation: the portable handler decides that from the typed outcome.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§