pub fn prepare(paths: Vec<PathBuf>) -> Option<Vec<PathBuf>> {
    let mut config_paths = expand(paths)?;
    config_paths.sort();
    config_paths.dedup();
    CONFIG_PATHS
        .set(config_paths.clone())
        .expect("Cannot set global config paths");
    Some(config_paths)
}
/// Expands, dedups, and sets global values.
Expands, dedups, and sets global values.
Expands dedups and sets global values .
pub fn prepare(paths: Vec<PathBuf>) -> Option<Vec<PathBuf>> {
    let mut config_paths = expand(paths)?;
    config_paths.sort();
    config_paths.dedup();
    CONFIG_PATHS
        .set(config_paths.clone())
        .expect("Cannot set global config paths");
    Some(config_paths)
}
pub fn prepare ( paths : Vec < PathBuf > ) -> Option < Vec < PathBuf > > { let mut config_paths = expand ( paths ) ? ; config_paths . sort ( ) ; config_paths . dedup ( ) ; CONFIG_PATHS . set ( config_paths . clone ( ) ) . expect ( " " ) ; Some ( config_paths ) }
Expands, dedups, and sets global values.
Expands dedups and sets global values .
paths
Vec<PathBuf>