Skip to main content

pathlib_glob

Function pathlib_glob 

Source
pub fn pathlib_glob(dir: &Path, prefix: &str, suffix: &str) -> Vec<PathBuf>
Expand description

sorted(Path(dir).glob(f"{prefix}*{suffix}")) — pathlib’s glob, which unlike the glob module does match dotfiles.