Function tauri::api::path::download_dir
source · pub fn download_dir() -> Option<PathBuf>
Expand description
Returns the path to the user’s download directory.
§Platform-specific
- Linux: Resolves to
xdg-user-dirs
’XDG_DOWNLOAD_DIR
. - macOS: Resolves to
$HOME/Downloads
. - Windows: Resolves to
{FOLDERID_Downloads}
.