Skip to main content

dream_revert_impl

Function dream_revert_impl 

Source
pub(crate) fn dream_revert_impl(
    state: &AppState,
    dream_id: &str,
    decided_by: &str,
    now_ms: i64,
) -> Result<Ran, String>
Expand description

Revert an applied dream: each file back as the pass read it, as new versions (revert), while each file is still what the dream left. Stale names a file that was edited since: nothing is changed.