MCPcopy Create free account
hub / github.com/Moosync/Moosync / start_scan

Function start_scan

src-tauri/src/scanner/mod.rs:83–85  ·  view source on GitHub ↗
(app: AppHandle, paths: Option<Vec<String>>)

Source from the content-addressed store, hash-verified

81#[tauri_invoke_proc::parse_tauri_command]
82#[tauri::command(async)]
83pub fn start_scan(app: AppHandle, paths: Option<Vec<String>>) -> Result<()> {
84 start_scan_inner(app, paths)
85}
86
87#[cfg(desktop)]
88pub fn start_scan_inner(app: AppHandle, mut paths: Option<Vec<String>>) -> Result<()> {

Callers 4

PathsPrefFunction · 0.85
spawn_scan_taskMethod · 0.85
handle_pref_changesFunction · 0.85
initialFunction · 0.85

Calls 1

start_scan_innerFunction · 0.85

Tested by

no test coverage detected