regexWalk

expect fun File.regexWalk(filters: List<<Error class: unknown class>>, direction: <Error class: unknown class> = FileWalkDirection.TOP_DOWN): MutableList<File>

Walk this directory and return all file-objects which match any of the regular expressions in the provided list.

Return

All files inside this directory which matched the given filters.

Author

Griefed

Parameters

filters

List of regular expressions to use for filtering.

direction

The direction in which to walk the directory. Default is FileWalkDirection.TOP_DOWN.