Return True if the runtime has completed installation.
(runtime_dir: Path)
| 380 | |
| 381 | |
| 382 | def has_runtime_installed(runtime_dir: Path) -> bool: |
| 383 | """Return True if the runtime has completed installation.""" |
| 384 | try: |
| 385 | return marker_path(runtime_dir).is_file() |
| 386 | except OSError: |
| 387 | return False |
| 388 | |
| 389 | |
| 390 | def write_install_marker(runtime_dir: Path) -> None: |
no test coverage detected