Function easy_shortcuts::files [] [src]

pub fn files<P: AsRef<Path>>(dir: P) -> FileNameIter

iterator over all files in a directory. Returns the files as strings; will quit if the directory does not exist or there is an i/o error)