Module tauri_wasm::plugin::fs

source ·
Expand description

§FS bindings

Access the file system.

The APIs must be added to plugins.fs in tauri.conf.json:

{
  "plugins": {
    "fs": {
      "all": true, // enable all FS APIs
      "readFile": true,
      "writeFile": true,
      "readDir": true,
      "copyFile": true,
      "createDir": true,
      "removeDir": true,
      "removeFile": true,
      "renameFile": true,
      "exists": true
    }
  }
}

Structs§

Enums§

Functions§