Skip to main content

push_state_dir

Function push_state_dir 

Source
pub fn push_state_dir(dir: impl Into<PathBuf>) -> StateDirGuard
Expand description

Point audit and pause files at dir until the guard drops.

Unit tests use this so they never create ~/.local/state.