pub fn path() -> Option<PathBuf>Expand description
<directory>/state.json in the platform state directory:
$XDG_STATE_HOME on Linux, the local data directory elsewhere
(Application Support on macOS, %LOCALAPPDATA% on Windows).
directory_name gives the directory.