Skip to main content

pack_to_vec

Function pack_to_vec 

Source
pub fn pack_to_vec(files: &BTreeMap<String, Vec<u8>>) -> Result<Vec<u8>>
Expand description

Serialise files to an in-memory Vec<u8> — used by the reproducibility tests so two builds can be byte-diffed without hitting the disk.