On Thu, Sep 6, 2012 at 10:26 PM, Martin Cooper <[email protected]> wrote:

> Thanks. With zipstream, do you know if there's a way to create
> directories, and thus nest files? I don't see any support, looking at
> both the API and the code, but I guess I could be missing it. That's
> crucial for us.
>

I believe the directory support comes from just setting the path when
calling .addFile().

zip.addFile( content, { name: "/some/deep/path.ext" }, callback );


> As it turns out, we need to read zip files too, and I thought adm-zip
> was working for that, but I just discovered that there's a showstopper
> bug in the inflate code, so I'm stymied on that side too now.
> zipstream only creates but doesn't read.
>

We're not reading zips, though our tests would be better if we were
actually deflating the zip and verifying the contents. Right now we're just
reaching into the code that's using zipstream and verifying that it's
piping in the correct files.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to