Make this path a hard link pointing to the same file as *target*. Note the order of arguments (self, target) is the reverse of os.link's.
(self, target)
| 1198 | os.symlink(target, self, target_is_directory) |
| 1199 | |
| 1200 | def hardlink_to(self, target): |
| 1201 | """ |
| 1202 | Make this path a hard link pointing to the same file as *target*. |
| 1203 | |
| 1204 | Note the order of arguments (self, target) is the reverse of os.link's. |
| 1205 | """ |
| 1206 | if not hasattr(os, "link"): |
| 1207 | raise NotImplementedError("os.link() not available on this system") |
| 1208 | os.link(target, self) |
| 1209 | |
| 1210 | def link_to(self, target): |
| 1211 | """ |