Repositories / agent-snapshot.git
test_programs/dirty_untracked_write.py
Clone (read-only): git clone http://git.guha-anderson.com/git/agent-snapshot.git
import os
from pathlib import Path
testdata = Path(os.environ["AGENT_SNAPSHOT_TEST_REPO"])
(testdata / "dirty.txt").read_text()
(testdata / "untracked_runtime.txt").read_text()
(testdata / "created_by_program.txt").write_text("created final\n")
(testdata / "deleted_by_program.txt").unlink()