(cmd: list[str], cwd: Path, env: dict | None = None)
| 61 | # Git helpers for a temp repo |
| 62 | # ----------------------------- |
| 63 | def _run(cmd: list[str], cwd: Path, env: dict | None = None) -> subprocess.CompletedProcess: |
| 64 | return subprocess.run(cmd, cwd=str(cwd), env=env, capture_output=True, text=True, check=True) |
| 65 | |
| 66 | |
| 67 | def _git_init(repo: Path) -> None: |
no test coverage detected