Path.hardlinkTo
void hardlinkTo(string target) constCreate a hard link at this path pointing to the given target.
On POSIX, this uses the link() syscall. On Windows, uses std.file.hardLink.
Parameters
target | The path to the file to link to (source). |
Throws
Exception on failure.