Skip to main content

unpack

Function unpack 

Source
pub async fn unpack<S: Storage>(storage: &S, archive: &[u8]) -> Result<()>
Expand description

Lay the container archive holds down in storage.

§Errors

std::io::ErrorKind::InvalidData for an archive that is not a container — one holding no manifest, or naming an entry outside the layout — and the write that did not land.