fn.data_dir

Function tauri_api::​path::​data_dir

pub fn data_dir() -> Option<PathBuf>

Returns the path to the user's data directory.