Skip to main content

hard_link

Function hard_link 

Source
pub fn hard_link(
    original: impl AsRef<Path>,
    link: impl AsRef<Path>,
) -> Result<()>
Expand description

Create a new hard link to a file.

This is a wrapper around std::fs::hard_link that echoes the operation to the console.