Skip to main content

default_machine_id_path

Function default_machine_id_path 

Source
pub fn default_machine_id_path() -> Result<PathBuf, MachineIdFileError>
Expand description

Resolve <data home>/cortexkit/machine-id from the same data home the daemon uses for storage.

A relative data home (HOME and XDG_DATA_HOME both unset) is refused rather than resolved against the working directory: the machine’s identity must not depend on where the daemon happened to be started from.