MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _write_sequencer

Function _write_sequencer

tests/test_hooks.py:1863–1868  ·  view source on GitHub ↗
(repo: Path, todo: str, head: str | None = None)

Source from the content-addressed store, hash-verified

1861
1862
1863def _write_sequencer(repo: Path, todo: str, head: str | None = None) -> None:
1864 seq = repo / ".git" / "sequencer"
1865 seq.mkdir()
1866 (seq / "todo").write_text(todo, encoding="utf-8")
1867 if head is not None:
1868 (seq / "head").write_text(head + "\n", encoding="utf-8")
1869
1870
1871def _changed_dump(tmp_path: Path, monkeypatch) -> Path:

Calls

no outgoing calls

Tested by

no test coverage detected