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