refactor(fs): reduce overhead of watch (#2613)

This commit is contained in:
Tony
2025-04-19 19:35:14 +08:00
committed by GitHub
parent 5e78988f72
commit dac4d53724
12 changed files with 102 additions and 162 deletions
-5
View File
@@ -150,11 +150,6 @@ pub fn open<R: Runtime>(
Ok(rid)
}
#[tauri::command]
pub fn close<R: Runtime>(webview: Webview<R>, rid: ResourceId) -> CommandResult<()> {
webview.resources_table().close(rid).map_err(Into::into)
}
#[derive(Debug, Clone, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct CopyFileOptions {