(state: dict)
| 367 | def quote_cmd(args: Iterable[str]) -> str: |
| 368 | return " ".join(shlex.quote(str(x)) for x in args) |
| 369 | |
| 370 | |
| 371 | def log_line(text: str) -> None: |
| 372 | ensure_dirs() |
| 373 | with LOG_FILE.open("a", encoding="utf-8") as f: |
| 374 | f.write(text.rstrip() + "\n") |
no test coverage detected