mirror of
https://github.com/tauri-apps/tauri-docs.git
synced 2026-01-31 00:35:16 +01:00
32 lines
582 B
Markdown
32 lines
582 B
Markdown
[@tauri-apps/api](../README.md) / [fs](../modules/fs.md) / FsTextFileOption
|
|
|
|
# Interface: FsTextFileOption
|
|
|
|
[fs](../modules/fs.md).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:111](https://github.com/tauri-apps/tauri/blob/a144e92/tooling/api/src/fs.ts#L111)
|
|
|
|
___
|
|
|
|
### path
|
|
|
|
• **path**: `string`
|
|
|
|
Path to the file to write.
|
|
|
|
#### Defined in
|
|
|
|
[fs.ts:109](https://github.com/tauri-apps/tauri/blob/a144e92/tooling/api/src/fs.ts#L109)
|