Skip to main content

extract

Function extract 

Source
pub fn extract(zip_path: &Path, dest: &Path) -> Result<(), String>
Expand description

Unpack the .skill at zip_path into dest, which is left holding one folder. Every entry is checked and read before anything is written, so a file that fails a check leaves dest as it was.