Skip to main content

db_path

Function db_path 

Source
pub fn db_path(scope_hash: Option<&str>) -> PathBuf
Expand description

Returns the path to the daemon SQLite database.

  • Linux/macOS: $XDG_STATE_HOME/running-process/tracked-pids{-hash}.sqlite3 (fallback: ~/.local/state/running-process/tracked-pids{-hash}.sqlite3)
  • Windows: %LOCALAPPDATA%\running-process\tracked-pids{-hash}.sqlite3