Expand description
Shared path computation for daemon socket, PID file, database, and shadow directory.
Both the server and client modules use these functions to agree on where the daemon listens and where auxiliary files are stored.
Functionsยง
- data_
dir - Returns the daemon data directory (where the SQLite tracking database
lives) WITHOUT creating it. Read-only callers (doctor, status probes)
use this;
db_pathkeeps its create-on-derive behavior. - db_path
- Returns the path to the daemon SQLite database.
- db_
path_ view - Read-only variant of
db_path: derives the same path without creating any directory. Used by read-only inspectors (#391). - make_
socket_ name - Build an
interprocesslocal socketinterprocess::local_socket::Namefrom the path returned bysocket_path. - pid_
file_ path - Returns the path to the daemon PID file.
- pid_
file_ path_ view - Read-only variant of
pid_file_path: derives the same path without creating any directory. Used by read-only inspectors (#391). - shadow_
dir - Returns the shadow directory used for ephemeral run data.
- shadow_
dir_ view - Read-only variant of
shadow_dir: derives the same path without creating any directory. Used by read-only inspectors (#391). - socket_
path - Returns the local socket name the daemon listens on.
- socket_
path_ view - Read-only variant of
socket_path: derives the same endpoint string without creating any directory. Used by read-only inspectors (#391).