Find the parent .cpp aggregator for an excluded directory. Convention: tests/fl/codec/ -> tests/fl/codec.cpp
(excluded_dir: Path)
| 70 | |
| 71 | |
| 72 | def _find_aggregator(excluded_dir: Path) -> Path | None: |
| 73 | """Find the parent .cpp aggregator for an excluded directory. |
| 74 | |
| 75 | Convention: tests/fl/codec/ -> tests/fl/codec.cpp |
| 76 | """ |
| 77 | aggregator = excluded_dir.with_suffix(".cpp") |
| 78 | if aggregator.exists(): |
| 79 | return aggregator |
| 80 | return None |
| 81 | |
| 82 | |
| 83 | def _parse_includes(aggregator: Path) -> set[str]: |
no outgoing calls
no test coverage detected