(path: Path, value: Any)
| 83 | |
| 84 | |
| 85 | def write_json(path: Path, value: Any) -> None: |
| 86 | path.parent.mkdir(parents=True, exist_ok=True) |
| 87 | path.write_text(json.dumps(value, indent=2, sort_keys=True) + "\n", encoding="utf-8") |
| 88 | |
| 89 | |
| 90 | def write_text(path: Path, value: str) -> None: |
no outgoing calls
no test coverage detected