Skip to main content

app_data_path

Function app_data_path 

Source
pub fn app_data_path(app: &AppHandle, file_name: &str) -> CommandResult<PathBuf>
Expand description

Resolve file_name inside the app’s config directory (e.g. ~/.config/<app>/settings.json on Linux). Does not create the directory; callers that write should create parents first (see write_json_atomic).