MCPcopy Index your code
hub / github.com/archlinux/archinstall / _cmd_history

Function _cmd_history

archinstall/lib/command.py:362–364  ·  view source on GitHub ↗
(cmd: list[str])

Source from the content-addressed store, hash-verified

360
361
362def _cmd_history(cmd: list[str]) -> None:
363 content = f'{time.time()} {cmd}\n'
364 _append_log('cmd_history.txt', content)
365
366
367def _cmd_output(output: str) -> None:

Callers 2

executeMethod · 0.85
runFunction · 0.85

Calls 1

_append_logFunction · 0.85

Tested by

no test coverage detected