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)
| 1222 | |
| 1223 | if hasattr(os, "link"): |
| 1224 | def hardlink_to(self, target): |
| 1225 | """ |
| 1226 | Make this path a hard link pointing to the same file as *target*. |
| 1227 | |
| 1228 | Note the order of arguments (self, target) is the reverse of os.link's. |
| 1229 | """ |
| 1230 | os.link(target, self) |
| 1231 | else: |
| 1232 | def hardlink_to(self, target): |
| 1233 | """ |