mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-26 21:41:48 +02:00
closes #734
This commit is contained in:
@@ -580,8 +580,8 @@ async function renameFile(
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
async function exists(path: string): Promise<boolean> {
|
||||
return await invoke("plugin:fs|exists", { path });
|
||||
async function exists(path: string, options: FsOptions = {}): Promise<boolean> {
|
||||
return await invoke("plugin:fs|exists", { path, options });
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user