Skip to main content

state_dir

Function state_dir 

Source
pub fn state_dir() -> Option<PathBuf>
Expand description

The platform’s per-user state directory: xdg::state_home on Linux and other Unix, ~/Library/Application Support on macOS (which keeps state beside data), %LOCALAPPDATA% on Windows: state belongs to this computer, and what roams with the account (%APPDATA%) would carry it to others.