pub fn push_state_dir(dir: impl Into<PathBuf>) -> StateDirGuardExpand description
Point audit and pause files at dir until the guard drops.
Unit tests use this so they never create ~/.local/state.
pub fn push_state_dir(dir: impl Into<PathBuf>) -> StateDirGuardPoint audit and pause files at dir until the guard drops.
Unit tests use this so they never create ~/.local/state.