fn visit_path<'s, 'w, F>(
        &'s self,
        path: Path,
        scope: &Scope<'w>,
        level: usize,
        state: &'w WalkState<F>,
    ) where
        F: Fn(Path) + Sync + Send,
        's: 'w,
    {
        if self.path_selector.matches_dir(&path) {
            Entry::from_path(path.clone())
                .map_err(|e| self.log_warn(format!("Failed to stat {}: {}", path.display(), e)))
                .into_iter()
                .for_each(|entry| self.visit_entry(entry, scope, level, state))
        }
    }
/// Visits path of any type (can be a symlink target, file or dir)
Visits path of any type (can be a symlink target, file or dir)
Visits path of any type ( can be a symlink target file or dir )
fn visit_path<'s, 'w, F>(
        &'s self,
        path: Path,
        scope: &Scope<'w>,
        level: usize,
        state: &'w WalkState<F>,
    ) where
        F: Fn(Path) + Sync + Send,
        's: 'w,
    {
        if self.path_selector.matches_dir(&path) {
            Entry::from_path(path.clone())
                .map_err(|e| self.log_warn(format!("Failed to stat {}: {}", path.display(), e)))
                .into_iter()
                .for_each(|entry| self.visit_entry(entry, scope, level, state))
        }
    }
fn visit_path < ' s , ' w , F > ( & ' s self , path : Path , scope : & Scope < ' w > , level : usize , state : & ' w WalkState < F > , ) where F : Fn ( Path ) + Sync + Send , ' s : ' w , { if self . path_selector . matches_dir ( & path ) { Entry :: from_path ( path . clone ( ) ) . map_err ( | e | self . log_warn ( format ! ( " " path display ( ) e ) ) ) . into_iter ( ) . for_each ( | entry | self . visit_entry ( entry , scope , level , state ) ) } }
Visits path of any type (can be a symlink target, file or dir)
Visits path of any type ( can be a symlink target file or dir )
&'s self
path
Path
scope
&Scope<'w>
level
usize
state
&'w WalkState<F>
&'s self
path
Path
scope
&Scope<'w>
level
usize
state
&'w WalkState<F>