(root: Path, subdir: str)
| 124 | |
| 125 | |
| 126 | def _list_files(root: Path, subdir: str) -> set[str]: |
| 127 | base = root / subdir |
| 128 | if not base.is_dir(): |
| 129 | return set() |
| 130 | return {str(p.relative_to(root)).replace("\\", "/") for p in base.rglob("*") if p.is_file()} |
| 131 | |
| 132 | |
| 133 | def _line_count(path: Path) -> int: |