Skip to main content

glob_children

Function glob_children 

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

sorted(glob.glob(os.path.join(dir, f"{prefix}*{suffix}"))) — direct children only, sorted by full path, dotfiles excluded like glob does.