pub fn state_file_path() -> PathBuf
Expand description

Per XDG Base Directory Specification, state files should go to $XDG_STATE_HOME if it exists, and $HOME/.local/state if it doesn’t.