(path: str, content: str)
| 30 | |
| 31 | |
| 32 | def _write_text(path: str, content: str) -> None: |
| 33 | parent = os.path.dirname(path) |
| 34 | if parent: |
| 35 | _ensure_dir(parent) |
| 36 | with open(path, 'w', encoding='utf-8') as f: |
| 37 | f.write(content) |
| 38 | |
| 39 | |
| 40 | def _validate_status(status: str) -> str: |
no test coverage detected