List all files specified in the include list.
()
| 27 | raise ValueError("Current entry does not have an include list.") |
| 28 | |
| 29 | def _list_include(): |
| 30 | """List all files specified in the include list.""" |
| 31 | for include_pattern in entry["include"]: |
| 32 | yield from glob.iglob(include_pattern, recursive=True) |
| 33 | |
| 34 | def _filter_exclude(iterable): |
| 35 | """Filter filenames from an iterator by the exclude patterns.""" |