tokio_fs::os::unix

Function symlink

Source
pub fn symlink<P: AsRef<Path>, Q: AsRef<Path>>(
    src: P,
    dst: Q,
) -> SymlinkFuture<P, Q>
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