Function easy_shortcuts::all_paths [] [src]

pub fn all_paths<P: AsRef<Path>>(dir: P) -> RDirIter

recursive iterator over all entries in a directory. Returns a tuple of (path::PathBuf,fs::Metadata); will quit if the directory does not exist or there is an i/o error)

RDirIter has setters for modifying what is returned. (The default is not to follow hidden files, or show them)