get_files_matching
- pylluminator.utils.get_files_matching(root_path: str | PathLike | MultiplexedPath, pattern: str) list[PathLike]
Equivalent to Path.rglob() for MultiplexedPath. Find all files in the subtree matching the pattern.
- Parameters:
root_path (str | os.PathLike | MultiplexedPath) – the root directory to look into.
pattern (str) – the pattern to look for in file names
- Returns:
the paths of the matched files
- Return type: