Extensions to [`tauri::App`], [`tauri::AppHandle`] and [`tauri::Window`] to access the file-scanner APIs.
| 33 | |
| 34 | /// Extensions to [`tauri::App`], [`tauri::AppHandle`] and [`tauri::Window`] to access the file-scanner APIs. |
| 35 | pub trait FileScannerExt<R: Runtime> { |
| 36 | fn file_scanner(&self) -> &FileScanner<R>; |
| 37 | } |
| 38 | |
| 39 | impl<R: Runtime, T: Manager<R>> crate::FileScannerExt<R> for T { |
| 40 | fn file_scanner(&self) -> &FileScanner<R> { |
nothing calls this directly
no outgoing calls
no test coverage detected