Return value of a symbolic link.
(self)
| 313 | error.checked_call(os.chown, str(self), uid, gid) |
| 314 | |
| 315 | def readlink(self) -> str: |
| 316 | """Return value of a symbolic link.""" |
| 317 | # https://github.com/python/mypy/issues/12278 |
| 318 | return error.checked_call(os.readlink, self.strpath) # type: ignore[arg-type,return-value,unused-ignore] |
| 319 | |
| 320 | def mklinkto(self, oldname): |
| 321 | """Posix style hard link to another name.""" |