MCPcopy Create free account
hub / github.com/Coooolfan/onlyboxes / fatal

Function fatal

scripts/install.py:164–166  ·  view source on GitHub ↗
(stage: str, message: str)

Source from the content-addressed store, hash-verified

162
163
164def fatal(stage: str, message: str) -> None:
165 print(f"\n{_c('31', '✗')} [{stage}] {message}", file=sys.stderr)
166 sys.exit(1)
167
168
169def info(message: str) -> None:

Callers 10

run_cmdFunction · 0.70
api_requestFunction · 0.70
detect_environmentFunction · 0.70
prepare_workdirFunction · 0.70
wait_console_readyFunction · 0.70
create_workerFunction · 0.70
install_systemd_serviceFunction · 0.70
wait_worker_onlineFunction · 0.70

Calls 1

_cFunction · 0.85

Tested by

no test coverage detected