MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / save_state

Function save_state

Scripts/Developer Base/Mobile Developer Setup.py:369–371  ·  view source on GitHub ↗
(state: dict)

Source from the content-addressed store, hash-verified

367def quote_cmd(args: Iterable[str]) -> str:
368 return " ".join(shlex.quote(str(x)) for x in args)
369
370
371def 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")

Callers 2

make_backupFunction · 0.70
install_setupFunction · 0.70

Calls 1

ensure_dirsFunction · 0.70

Tested by

no test coverage detected