MCPcopy
hub / github.com/Open-Wine-Components/umu-launcher / has_runtime_installed

Function has_runtime_installed

umu/umu_util.py:382–387  ·  view source on GitHub ↗

Return True if the runtime has completed installation.

(runtime_dir: Path)

Source from the content-addressed store, hash-verified

380
381
382def 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
390def write_install_marker(runtime_dir: Path) -> None:

Callers 3

umu_runFunction · 0.90
setup_umuFunction · 0.90
has_umu_setupFunction · 0.85

Calls 1

marker_pathFunction · 0.85

Tested by

no test coverage detected