Function tauri::api::path::local_data_dir
source · pub fn local_data_dir() -> Option<PathBuf>
Expand description
Returns the path to the user’s local data directory.
§Platform-specific
- Linux: Resolves to
$XDG_DATA_HOME
or$HOME/.local/share
. - macOS: Resolves to
$HOME/Library/Application Support
. - Windows: Resolves to
{FOLDERID_LocalAppData}
.