pub async fn symlink(src: impl AsRef<Path>, dst: impl AsRef<Path>) -> Result<()>
Available on Unix and crate feature
fs
only.Expand description
Creates a new symbolic link on the filesystem.
The dst
path will be a symbolic link pointing to the src
path.
This is an async version of std::os::unix::fs::symlink
.