Files
archived-tauri-docs/docs/api/js/interfaces/fs.FsTextFileOption.md
2022-07-15 12:00:05 +02:00

576 B

@tauri-apps/api / fs / FsTextFileOption

Interface: FsTextFileOption

fs.FsTextFileOption

Options object used to write a UTF-8 string to a file.

Properties

contents

contents: string

The UTF-8 string to write to the file.

Defined in

fs.ts:112


path

path: string

Path to the file to write.

Defined in

fs.ts:110