Function tokio::fs::os::unix::symlink

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