walk

Function walk 

Source
pub fn walk<P>(
    root: &Path,
    config: &TraverseConfig,
    predicate: Option<&P>,
) -> Result<Vec<Entry>>
where P: Predicate + ?Sized,
Expand description

Walk a directory tree and yield entries matching the predicate