(self, path: str, content: str, mode: int | None = None)
| 559 | return self._path(path).read_text(encoding="utf-8") |
| 560 | |
| 561 | async def write_file(self, path: str, content: str, mode: int | None = None) -> None: |
| 562 | p = self._path(path) |
| 563 | p.parent.mkdir(parents=True, exist_ok=True) |
| 564 | p.write_text(content, encoding="utf-8") |
| 565 | |
| 566 | async def append_file(self, path: str, content: str, mode: int | None = None) -> None: |
| 567 | p = self._path(path) |
no test coverage detected