MCPcopy Create free account
hub / github.com/T0UGH/codex-self-evolution-plugin / _write_lock

Function _write_lock

tests/test_lock_protection.py:15–17  ·  view source on GitHub ↗
(paths, *, pid: int, created_at: str)

Source from the content-addressed store, hash-verified

13
14
15def _write_lock(paths, *, pid: int, created_at: str) -> None:
16 lock_path = compiler_lock_path(paths)
17 lock_path.write_text(json.dumps({"created_at": created_at, "pid": pid}), encoding="utf-8")
18
19
20def test_lock_status_reports_unlocked_when_no_file(tmp_path):

Calls 1

compiler_lock_pathFunction · 0.90

Tested by

no test coverage detected