Return True if the path exists.
(self)
| 52 | # Async filesystem operations |
| 53 | |
| 54 | async def exists(self) -> bool: |
| 55 | """Return True if the path exists.""" |
| 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.""" |
no outgoing calls