Function tokio::fs::symlink_file[][src]

pub async fn symlink_file(
    src: impl AsRef<Path>,
    dst: impl AsRef<Path>
) -> Result<()>
This is supported on crate feature fs only.
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