pub trait RecurseDir<T> {
    fn matches(&self, path: &PathBuf) -> Option<T>;

    fn recurse_dir<O, I: FromIterator<O>, F: Fn(PathBuf, T) -> O>(
        &self,
        path: PathBuf,
        visitor: F
    ) -> I { ... } }
Expand description

An abstraction for recursing through a directory

Required Methods

Check if the current path is a match

Provided Methods

Recurse through a directory and return a list of files

Implementors