OCaml Forge
SCM

Detail: [#1193] read zip-file from string

Bugs: Browse | Download .csv | Monitor

[#1193] read zip-file from string

Date:
2012-07-24 14:11
Priority:
3
State:
Open
Submitted by:
Markus WeiƟmann (mww)
Assigned to:
Nobody (None)
Hardware:
None
Resolution:
None
Severity:
enhancement
Version:
None
Component:
None
Operating System:
None
Product:
None
 
URL:
Summary:
read zip-file from string

Detailed description
This is a feature request:

The zip-part of camlzip only features a function to open a named file ("open_in");
When having the contents of a zip file already in memory (e.g. as an OCaml string), this is quite inconvenient, as you have to first dump the file to disk, then read it again with "Zip.open_in".
It would be nice to have a function

from_string : string -> in_file

that reads the zip file from in-memory instead of from disk.

Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item