Function xshell::read_dir[][src]

pub fn read_dir(path: impl AsRef<Path>) -> Result<Vec<PathBuf>>

Returns a sorted list of paths directly contained in the directory at path that were able to be accessed without error.