pub fn join_config_path(file: &Path) -> Result<PathBuf>
Join a path with config_dir()/darkfi.
config_dir()/darkfi