filteredWalk

expect fun File.filteredWalk(filters: List<String>, filterType: FilterType = FilterType.CONTAINS, direction: <Error class: unknown class> = FileWalkDirection.TOP_DOWN, recursive: Boolean = true): MutableList<File>

Walk this directory and return all file-objects which match the specified filter-type using the passed list of filters.

Return

All files inside this directory which matched the given filters.

Author

Griefed

Parameters

filters

List of Strings to use for filtering

filterType
direction

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