[−][src]Function smol::fs::windows::symlink_file
pub async fn symlink_file<P, Q>(src: P, dst: Q) -> Result<(), Error> where
P: AsRef<Path>,
Q: AsRef<Path>,
Creates a new file symbolic link on the filesystem.
The dst
path will be a file symbolic link pointing to the src
path.
Examples
async_fs::windows::symlink_file("a.txt", "b.txt").await?;