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 changes the records, so the first save doesn’t replace the file with an empty copy.