pub fn symlink_file<P: AsRef<Path>, Q: AsRef<Path>>(original: P, link: Q)
Expand description
Create a new symbolic link to a file.
ยงRemoving the symlink
On both Windows and Unix, a symlink-to-file needs to be removed with a corresponding
fs::remove_file
and not fs::remove_dir
.