(self, *, follow_symlinks=True, ignore_errors=False)
| 495 | self._entry = entry |
| 496 | |
| 497 | def _stat(self, *, follow_symlinks=True, ignore_errors=False): |
| 498 | try: |
| 499 | return self._entry.stat(follow_symlinks=follow_symlinks) |
| 500 | except OSError: |
| 501 | if not ignore_errors: |
| 502 | raise |
| 503 | return None |
| 504 | |
| 505 | def exists(self, *, follow_symlinks=True): |
| 506 | """Whether this path exists.""" |