Function unpack

Source
pub fn unpack(layers: &[Vec<u8>], target_dir: &Path) -> Result<(), RenderError>
Expand description

Unpack an ordered list of layers to a target directory.

Layers must be provided as gzip-compressed tar archives, with lower layers coming first. Target directory must be an existing absolute path.