findFilesToProcess
abstract fun findFilesToProcess(from: Path, recursive: Boolean, maxDepth: Int?, exclude: Regex?): List<Path>(source)
Finds SVG or XML files to process within a given directory.
Return
A list of Path objects representing the files found to process.
Parameters
from
The starting directory to search for files.
recursive
If true, the search will be performed recursively through subdirectories.
maxDepth
The maximum depth to search when recursive is true. Null means no limit.
exclude
A regular expression to exclude files from the results. Null means no files are excluded.