pub fn files_with_ext<'a>( root: &Path, ext: &'a str, ) -> impl Iterator<Item = PathBuf> + 'a
Returns an iterator over all files with the given extension under the root dir.
root