Ticket #2172 (new bug)

Opened 3 years ago

Last modified 3 years ago

Archive.Zip : missing convenient method to unpack archive

Reported by: Eclesia Owned by:
Priority: normal Milestone:
Component: library Version: 3.6.0
Severity: medium Keywords: zip
Cc: Language:
Patch status: Platform:

Description

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.

Change History

Changed 3 years ago by jkeenan

  • component changed from none to library
  • summary changed from Archive.Zip : missing convinient method to unpack archive to Archive.Zip : missing convenient method to unpack archive

Changed 3 years ago by fperrad

Archive/Zip.pir is a partial port of the Perl5 module Archive::Zip (version 1.30).

Feel free to add the missing methods or to write another library in a High Level Language.

Note: See TracTickets for help on using tickets.