petdance/scratch — Issue #440: Archive.Zip : missing convenient method to unpack archive
Author: petdance
Created: 2011-11-01 04:26:02+00:00
State: open

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.