Function holochain::conductor::paths::data_root[][src]

pub fn data_root() -> PathBuf
Expand description

Returns the path to the root data directory for all of Holochain. If we can get a user directory it will be an XDG compliant path like “/home/peter/.local/share/holochain”. If it can’t get a user directory it will default to “/etc/holochain”.