[−][src]Function tari_common::dir_utils::default_subdir
pub fn default_subdir(path: &str, base_dir: Option<&PathBuf>) -> String
A convenience function for creating subfolders inside the ~/.tari
default data directory
Panics
This function panics if the home folder location cannot be found or if the path value is not valid UTF-8. This is a trade-off made in favour of convenience of use.