WriteFileOptions
Defined in: plugins/fs/guest-js/index.ts:1041
2.0.0
optionalappend:boolean
Defined in: plugins/fs/guest-js/index.ts:1043
Defaults to false. If set to true, will append to a file instead of overwriting previous contents.
optionalbaseDir:BaseDirectory
Defined in: plugins/fs/guest-js/index.ts:1051
Base directory for path
optionalcreate:boolean
Defined in: plugins/fs/guest-js/index.ts:1045
Sets the option to allow creating a new file, if one doesn’t already exist at the specified path (defaults to true).
optionalcreateNew:boolean
Defined in: plugins/fs/guest-js/index.ts:1047
Sets the option to create a new file, failing if it already exists.
optionalmode:number
Defined in: plugins/fs/guest-js/index.ts:1049
File permissions. Ignored on Windows.
© 2025 Tauri Contributors. CC-BY / MIT