tauri_plugin_android_fs/api/
temp_file_guard.rs

1/// A guard that removes the file on drop
2pub struct TempFileGuard {
3    pub(crate) path: std::path::PathBuf
4}
5
6impl Drop for TempFileGuard {
7
8    fn drop(&mut self) {
9        std::fs::remove_file(&self.path).ok();
10    }
11}