Function move_command_line_common::files::find_filenames
source · pub fn find_filenames<Predicate: FnMut(&Path) -> bool>(
paths: &[impl AsRef<Path>],
is_file_desired: Predicate
) -> Result<Vec<String>>
Expand description
- For each directory in
paths
, it will return all files that satisfy the predicate - Any file explicitly passed in
paths
, it will include that file in the result, regardless of the file extension