tokio::fs

Function symlink_dir

Source
pub async fn symlink_dir(
    src: impl AsRef<Path>,
    dst: impl AsRef<Path>,
) -> Result<()>
Available on Windows and crate feature fs only.
Expand description

Creates a new directory symlink on the filesystem.

The dst path will be a directory symbolic link pointing to the src path.

This is an async version of std::os::windows::fs::symlink_dir