Skip to main content

data_dir

Function data_dir 

Source
pub fn data_dir(app_id: &str) -> Result<PathBuf>
Expand description

The directory for app_id, created if it does not exist.

PlatformLocation
macOS~/Library/Application Support/<app_id>
Windows%APPDATA%\<app_id>
Linux$XDG_DATA_HOME/<app_id>, else ~/.local/share/<app_id>