(path: Path, fspath: LEGACY_PATH)
| 94 | |
| 95 | |
| 96 | def _check_path(path: Path, fspath: LEGACY_PATH) -> None: |
| 97 | if Path(fspath) != path: |
| 98 | raise ValueError( |
| 99 | f"Path({fspath!r}) != {path!r}\n" |
| 100 | "if both path and fspath are given they need to be equal" |
| 101 | ) |
| 102 | |
| 103 | |
| 104 | def _imply_path( |
no outgoing calls
no test coverage detected