Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
362
def
_cmd_history(cmd: list[str]) -> None:
363
content = f
'{time.time()} {cmd}\n'
364
_append_log(
'cmd_history.txt'
, content)
365
366
367
def
_cmd_output(output: str) -> None:
Callers
2
execute
Method · 0.85
run
Function · 0.85
Calls
1
_append_log
Function · 0.85
Tested by
no test coverage detected