tokio_fs::os::windows

Function symlink_file

Source
pub fn symlink_file<P: AsRef<Path>, Q: AsRef<Path>>(
    src: P,
    dst: Q,
) -> SymlinkFileFuture<P, Q>
Expand description

Creates a new file symbolic link on the filesystem.

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

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