[][src]Function holochain_common::paths::data_root

pub fn data_root() -> PathBuf

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".