pub fn files_all(path: PathBuf, extensions: Option<Vec<&str>>) -> Vec<PathBuf>Expand description
Returns a vector of PathBuf containing all files in a directory that match at least one of the given extensions.
§Arguments
path- APathBufto the directory to search.extensions- AnOptioncontaining a list of string slice(s) representing the file extension(s) to search for.
§Returns
A Vec containing PathBuf values of all files in the given directory that match at least one of the given extensions.