/// Creates a default walk with empty root dirs, no link following and logger set to sdterr
Creates a default walk with empty root dirs, no link following and logger set to sdterr
Creates a default walk with empty root dirs no link following and logger set to sdterr
pub fn new() -> Walk<'a> {
        let base_dir = Path::from(&current_dir().unwrap_or_default());
        Walk {
            base_dir: Arc::new(base_dir.clone()),
            depth: usize::MAX,
            skip_hidden: false,
            follow_links: false,
            path_selector: PathSelector::new(base_dir),
            on_visit: &|_| {},
            log: None,
        }
    }
pub fn new ( ) -> Walk < ' a > { let base_dir = Path :: from ( & current_dir ( ) . unwrap_or_default ( ) ) ; Walk { base_dir : Arc :: new ( base_dir . clone ( ) ) , depth : usize :: MAX , skip_hidden : false , follow_links : false , path_selector : PathSelector :: new ( base_dir ) , on_visit : & | _ | { } , log : None , } }
Creates a default walk with empty root dirs, no link following and logger set to sdterr
Creates a default walk with empty root dirs no link following and logger set to sdterr