Function async_std::os::windows::fs::symlink_dir [−][src]
pub async fn symlink_dir<P: AsRef<Path>, Q: AsRef<Path>>(
src: P,
dst: Q
) -> Result<()>
This is supported on Windows and
unstable
only.Expand description
Creates a new directory symbolic link on the filesystem.
The dst
path will be a directory symbolic link pointing to the src
path.
This function is an async version of std::os::windows::fs::symlink_dir
.
Examples
use async_std::os::windows::fs::symlink_dir;
symlink_dir("a", "b").await?;