Return True if the path is a regular file.
(self)
| 56 | return await asyncio.to_thread(self._path.exists) |
| 57 | |
| 58 | async def is_file(self) -> bool: |
| 59 | """Return True if the path is a regular file.""" |
| 60 | return await asyncio.to_thread(self._path.is_file) |
| 61 | |
| 62 | async def is_dir(self) -> bool: |
| 63 | """Return True if the path is a directory.""" |
no outgoing calls