Write *content* to a file, creating parent directories if needed.
(self, path: str, content: str, mode: int | None = None)
| 67 | |
| 68 | @abc.abstractmethod |
| 69 | async def write_file(self, path: str, content: str, mode: int | None = None) -> None: |
| 70 | """Write *content* to a file, creating parent directories if needed.""" |
| 71 | |
| 72 | @abc.abstractmethod |
| 73 | async def append_file(self, path: str, content: str, mode: int | None = None) -> None: |