Function easy_shortcuts::paths
[−]
[src]
pub fn paths<P: AsRef<Path>>(dir: P) -> DirIter
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)