Skip to main content

default_identity_path

Function default_identity_path 

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

Where the identity lives: $XDG_STATE_HOME/majordomus/node.json, else $HOME/.local/state/majordomus/node.json. None when neither variable is set — a process with no home has no node identity, and the mesh stays off.