pub fn hard_link<P: AsRef<Path>, Q: AsRef<Path>>(
original: P,
link: Q,
) -> Result<()>Expand description
Creates a new hard link on the filesystem.
The link path will be a link pointing to the original path. Note that
systems often require these two paths to both be located on the same
filesystem.
Wrapper for fs::hard_link.