[][src]Function starship::context::path_has_name

pub fn path_has_name<'a>(dir_entry: &PathBuf, names: &'a [&'a str]) -> bool

checks to see if the pathbuf matches a file or folder name