Check if the path is a relative path (starts with ./ or ../).
(include_path: str)
| 287 | |
| 288 | |
| 289 | def is_relative_path(include_path: str) -> bool: |
| 290 | """Check if the path is a relative path (starts with ./ or ../).""" |
| 291 | return include_path.startswith("./") or include_path.startswith("../") |
| 292 | |
| 293 | |
| 294 | def header_exists(include_path: str) -> bool: |
no outgoing calls
no test coverage detected