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)
| 1420 | |
| 1421 | if hasattr(os, "link"): |
| 1422 | def hardlink_to(self, target): |
| 1423 | """ |
| 1424 | Make this path a hard link pointing to the same file as *target*. |
| 1425 | |
| 1426 | Note the order of arguments (self, target) is the reverse of os.link's. |
| 1427 | """ |
| 1428 | os.link(target, self) |
| 1429 | else: |
| 1430 | def hardlink_to(self, target): |
| 1431 | """ |