Function copy

Source
pub fn copy<W>(r: &mut Reader<'_>, w: &mut W) -> Result<()>
where W: Write,
Expand description

Reads through the entire NAR, and writes it back to a writer. This verifies its syntactical correctness.