Skip to main content

clean_scratch_dir

Function clean_scratch_dir 

Source
pub fn clean_scratch_dir(app: &AppHandle)
Expand description

Clear every file in the scratch dir (M-SAVE.1). Called once at app startup from main.rs: any scratch left by a crash or an un-exported recording from a previous run is abandoned (v0 has no cross-launch export recovery). Best-effort — logs and continues on failure.