Skip to main content

read

Function read 

Source
pub fn read(path: &Path, limit: u64) -> Result<Vec<(String, Vec<u8>)>, String>
Expand description

The files of the archive at path, a zip or a tar.gz as these functions write them: each name and its bytes, in order. An archive that unpacks to more than limit bytes is an error, as is one that doesn’t read.