Skip to main content

profile_root

Function profile_root 

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

The active profile root: the in-process override if set, else an absolute non-empty MCPMESH_HOME. None = the standard XDG (unix) / APPDATA (windows) layout. When Some, ALL state — config, data, state, and the runtime socket — roots under this ONE directory (#32), so isolating an instance takes one knob instead of overriding five XDG vars.