Skip to main content

revert

Function revert 

Source
pub(crate) fn revert(app: &mut App, path: &str)
Expand description

Reload the model from path, dropping this session’s unsaved edits. The way out of a save conflict: the quit autosave refuses to clobber another writer, so revert, pick up their changes, and redo yours. On failure the session is untouched.