Return the path to which the symbolic link points.
(self)
| 1079 | return f.write(data) |
| 1080 | |
| 1081 | def readlink(self): |
| 1082 | """ |
| 1083 | Return the path to which the symbolic link points. |
| 1084 | """ |
| 1085 | if not hasattr(os, "readlink"): |
| 1086 | raise NotImplementedError("os.readlink() not available on this system") |
| 1087 | return self._from_parts((os.readlink(self),)) |
| 1088 | |
| 1089 | def touch(self, mode=0o666, exist_ok=True): |
| 1090 | """ |
no test coverage detected