write_hardlink

Function write_hardlink 

Source
pub fn write_hardlink(
    writer: &mut impl Write,
    path: &Path,
    target: &OsStr,
) -> Result
Expand description

Writes a hardlink entry to the dumpfile format.

Creates a special entry that links the given path to an existing target path that was already written to the dumpfile.