Skip to main content

state_dir

Function state_dir 

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

Where this daemon keeps the small things it remembers between runs.

Shared with anything else that needs one rather than each picking its own: two directories chosen by two copies of this logic is how a setting gets written to one place and read from another.