Function re_build_tools::iter_dir

source ยท
pub fn iter_dir<'a>(
    path: impl AsRef<Path>,
    extensions: Option<&'a [&'a str]>,
) -> impl Iterator<Item = PathBuf> + 'a
Expand description

Recursively walks the directory at path in filename order.

If extensions is specified, only files with the right extensions will be iterated. Specified extensions should not include the leading dot, e.g. fbs rather than .fbs.