(root: Path, files: dict[str, str])
| 53 | |
| 54 | |
| 55 | def _write(root: Path, files: dict[str, str]) -> None: |
| 56 | for rel, text in files.items(): |
| 57 | path = root.joinpath(*rel.split("/")) |
| 58 | path.parent.mkdir(parents=True, exist_ok=True) |
| 59 | path.write_text(text, encoding="utf-8") |
| 60 | |
| 61 | |
| 62 | _CASES = { |
no test coverage detected