Whether this path is a symbolic link.
(self)
| 439 | return False |
| 440 | |
| 441 | def is_symlink(self): |
| 442 | """Whether this path is a symbolic link.""" |
| 443 | try: |
| 444 | return self._is_symlink |
| 445 | except AttributeError: |
| 446 | self._is_symlink = os.path.islink(self._path) |
| 447 | return self._is_symlink |
| 448 | |
| 449 | |
| 450 | class _PosixPathInfo(_PathInfoBase): |