Skip to main content

extract_archive

Function extract_archive 

Source
fn extract_archive(archive: &[u8], staging: &Path) -> Result<(), String>
Expand description

Extracts a ZIP into staging, rejecting unsafe or duplicate paths, symlinks, too many entries, and oversized content.