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