Create directory.
(
self, mode: int = 0o777, parents: bool = False, exist_ok: bool = False
)
| 88 | return await asyncio.to_thread(self._path.rmdir) |
| 89 | |
| 90 | async def mkdir( |
| 91 | self, mode: int = 0o777, parents: bool = False, exist_ok: bool = False |
| 92 | ) -> None: |
| 93 | """Create directory.""" |
| 94 | return await asyncio.to_thread( |
| 95 | self._path.mkdir, mode, parents, exist_ok |
| 96 | ) |
| 97 | |
| 98 | async def rename(self, target: str | AsyncPath | Path) -> AsyncPath: |
| 99 | """Rename the path to target.""" |
no outgoing calls