tokio::fs

Function symlink

source
pub async fn symlink(src: impl AsRef<Path>, dst: impl AsRef<Path>) -> Result<()>
Expand description

Creates a new symbolic link on the filesystem.

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

This is an async version of std::os::unix::fs::symlink.