(repo_root: Path, patterns: list[str])
| 413 | |
| 414 | |
| 415 | def glob_paths(repo_root: Path, patterns: list[str]) -> list[Path]: |
| 416 | results: list[Path] = [] |
| 417 | for pat in patterns: |
| 418 | results.extend(repo_root.glob(pat)) |
| 419 | return sorted({p.resolve() for p in results if p.is_file()}) |
| 420 | |
| 421 | |
| 422 | def is_excluded(rel_path: str, exclude_patterns: list[str]) -> bool: |
no outgoing calls
no test coverage detected