Working with files #1579
-
Hi All, thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
You have to be a bit more specific. Please edit your question to explicitly state what you mean with "work with files". Because for some of us, this is still very true: |
Beta Was this translation helpful? Give feedback.
-
Yes there is a Prompt api for choosing a file to open - and also a Save As: There is also a js api for filesystem work: And finally there is also the path api: |
Beta Was this translation helpful? Give feedback.
-
I want to check if a particular file exists or not. Anyone can help? |
Beta Was this translation helpful? Give feedback.
Yes there is a Prompt api for choosing a file to open - and also a Save As:
https://tauri.studio/en/docs/api/js/modules/dialog
There is also a js api for filesystem work:
https://tauri.studio/en/docs/api/js/modules/fs
And finally there is also the path api:
https://tauri.studio/en/docs/api/js/modules/path