Support for hard links
tfe opened this issue · comments
Todd Eichel commented
Hi, I just ran into a case where I had to user a hard link instead of a symlink and had to fall back to NSFileManager to accomplish it. The API is almost identical to the symlink function:
createSymbolicLinkAtURL(_:withDestinationURL:)
createSymbolicLinkAtPath(_:withDestinationPath:)
linkItemAtURL(_:toURL:)
linkItemAtPath(_:toPath:)
Thanks! If I have some time I'll add this and submit a PR, but I wanted to at least raise the flag so the issue is logged.
Nikolai Vazquez commented
Done eaf3a98