Skip to main content

data_dir

Function data_dir 

Source
pub fn data_dir() -> PathBuf
Expand description

Returns the daemon data directory (where the SQLite tracking database lives) WITHOUT creating it. Read-only callers (doctor, status probes) use this; db_path keeps its create-on-derive behavior.