Normalize path for comparison (handle Windows/Unix paths).
(self, path: str)
| 142 | return result |
| 143 | |
| 144 | def _normalize_path(self, path: str) -> str: |
| 145 | """Normalize path for comparison (handle Windows/Unix paths).""" |
| 146 | # Remove drive letters and normalize separators |
| 147 | path = path.replace("\\", "/") |
| 148 | if len(path) > 2 and path[1] == ":": |
| 149 | path = path[2:] |
| 150 | return path |
| 151 | |
| 152 | def _extract_header_name(self, path: str) -> str: |
| 153 | """Extract just the header filename or relative path within project.""" |
no outgoing calls
no test coverage detected