(path: str)
| 129 | return path.replace("\\", "/").lstrip("/") |
| 130 | |
| 131 | def _has_parent_reference(path: str) -> bool: |
| 132 | return any(part == ".." for part in path.split("/")) |
| 133 | |
| 134 | _ALLOWED_EXTENSIONS = frozenset({".yaml", ".yml"}) |
| 135 |
no test coverage detected