You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to Rust and Tauri. I was wondering why app_local_data_dir() returns a Result. Shouldn't I as a developer expect that Tauri manages these folders for me and ensures that they exist, when I need to access them? Consequently, if they do not exist, am I supposed to create them manually? (Which I do not think is a good idea.) Hence, should Tauri not fix the problem or panic, instead of asking me what to do about it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm new to Rust and Tauri. I was wondering why
app_local_data_dir()
returns a Result. Shouldn't I as a developer expect that Tauri manages these folders for me and ensures that they exist, when I need to access them? Consequently, if they do not exist, am I supposed to create them manually? (Which I do not think is a good idea.) Hence, should Tauri not fix the problem or panic, instead of asking me what to do about it?Beta Was this translation helpful? Give feedback.
All reactions