Skip to main content

restore

Function restore 

Source
pub(crate) fn restore(state: &AppState)
Expand description

Read the file and put back what is still true. Called once at startup, before anything can change the map, so the first save does not replace the file with an empty copy.