gix_features::fs::walkdir

Type Alias WalkDir

Source
pub type WalkDir = WalkDir<WalkDir>;
Available on crate feature fs-walkdir-parallel only.
Expand description

A platform to create a DirEntryIter from.

Aliased Type§

struct WalkDir { /* private fields */ }

Implementations§

Source§

impl WalkDir

Source

pub fn min_depth(self, min: usize) -> Self

Set the minimum component depth of paths of entries.

Source

pub fn max_depth(self, max: usize) -> Self

Set the maximum component depth of paths of entries.

Follow symbolic links.

Trait Implementations§

Source§

impl IntoIterator for WalkDir

Source§

type Item = Result<DirEntry<DirEntry<((), ())>>, Error>

The type of the elements being iterated over.
Source§

type IntoIter = WalkDirIter<DirEntryIter<((), ())>, DirEntry<((), ())>, Error>

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more