Skip to main content

scratch_dir

Function scratch_dir 

Source
fn scratch_dir(app: &AppHandle) -> Option<PathBuf>
Expand description

Directory for in-progress / awaiting-export scratch recordings (M-SAVE.1). Under the app cache dir so it’s app-scoped and on the home volume (so the export rename into ~/Movies/Screen etc. is atomic rather than a cross-device copy). None only if the platform path resolver fails.