(path: str)
| 126 | return app_root |
| 127 | |
| 128 | def _normalize_relative_path(path: str) -> str: |
| 129 | return path.replace("\\", "/").lstrip("/") |
| 130 | |
| 131 | def _has_parent_reference(path: str) -> bool: |
| 132 | return any(part == ".." for part in path.split("/")) |
no test coverage detected