fn read_dir_as_sorted_paths(
path: impl AsRef<Path>,
) -> Result<Vec<PathBuf>, Error>Expand description
Reads a directory path and returns its entries as a sorted list of paths.
ยงErrors
Returns an error if
pathcannot be read usingPath::read_dir,- or one of the directory entries in
pathis not readable.