Function symlink
pub async fn symlink(
original: impl AsRef<Path>,
link: impl AsRef<Path>,
) -> Result<()>
Available on Unix and crate feature
fs only.Creates a new symbolic link on the filesystem.
The link path will be a symbolic link pointing to the original path.
This is an async version of std::os::unix::fs::symlink.
MIT License
Copyright © Tokio Contributors
https://docs.rs/tokio/1.53.1/tokio/fs/fn.symlink.html