fs_err::tokio

Function hard_link

source
pub async fn hard_link(
    src: impl AsRef<Path>,
    dst: impl AsRef<Path>,
) -> Result<()>
Available on crate feature tokio only.
Expand description

Creates a new hard link on the filesystem.

Wrapper for tokio::fs::hard_link.