foundry_common::fs

Function files_with_ext

Source
pub fn files_with_ext<'a>(
    root: &Path,
    ext: &'a str,
) -> impl Iterator<Item = PathBuf> + 'a
Expand description

Returns an iterator over all files with the given extension under the root dir.