petdance/scratch — Issue #441: Archive.Zip : missing convenient method to unpack archive
Author: petdance
Created: 2011-11-14 05:56:01+00:00
State: open
Labels: bug, library, Pri-normal, Sev-medium

The Archive.Zip pmc provides method to create an archive but does not offer function to unpack an existing zip file.
available functions should look like :

{{{
String[] listFiles(String archivePath)
}}}
provide a quick view of what contains the archive.

{{{
extract(String archivePath, String outputDirectory, Optional String[] filesToExtract, Hash hints)
}}}
hints are generaly here to offer the possibility to extra only a few files.

Originally http://trac.parrot.org/parrot/ticket/2172