pub fn load_config_with_root(root: Option<PathBuf>) -> Config {
    if let Some(root) = root {
        Config::load_with_root(root)
    } else {
        Config::load_with_root(find_project_root_path().unwrap())
    }
    .sanitized()
}
/// Loads the config for the current project workspace or the provided root path
Loads the config for the current project workspace or the provided root path
Loads the config for the current project workspace or the provided root path
pub fn load_config_with_root(root: Option<PathBuf>) -> Config {
    if let Some(root) = root {
        Config::load_with_root(root)
    } else {
        Config::load_with_root(find_project_root_path().unwrap())
    }
    .sanitized()
}
pub fn load_config_with_root ( root : Option < PathBuf > ) -> Config { if let Some ( root ) = root { Config :: load_with_root ( root ) } else { Config :: load_with_root ( find_project_root_path ( ) . unwrap ( ) ) } . sanitized ( ) }
Loads the config for the current project workspace or the provided root path
Loads the config for the current project workspace or the provided root path
root
Option<PathBuf>
root
Option<PathBuf>