pub fn pathlib_glob(dir: &Path, prefix: &str, suffix: &str) -> Vec<PathBuf>
sorted(Path(dir).glob(f"{prefix}*{suffix}")) — pathlib’s glob, which unlike the glob module does match dotfiles.
sorted(Path(dir).glob(f"{prefix}*{suffix}"))
glob