Thread overview
Tango zip or external command line zip
Oct 02, 2007
Lars Ivar Igesund
Oct 02, 2007
BCS
Oct 02, 2007
Lars Ivar Igesund
October 02, 2007
Dear Community,
I am asking is Tango's zip ability enough to decompress its own zip package, dmd's and dsss's.  If not has anyone written a zip lib for D.
I would prefer to use a zip lib with commands like the following compared to tango's current zip.
FastZip fz = new FastZip;
fz.Extract(filein,fileout,filter);
fz.Zip(dirin,fileout,filter);
If we don't have this would it be easier to at installation time download a command line zip utility and call it to unzip items.
Which is easier?
Lester L. Martin II
October 02, 2007
Lester L. Martin II wrote:

> Dear Community,
> I am asking is Tango's zip ability enough to decompress its own zip
> package, dmd's and dsss's.

Not yet, currently Tango can only do compressed streams.

> If not has anyone written a zip lib for D. I
> would prefer to use a zip lib with commands like the following compared to
> tango's current zip. FastZip fz = new FastZip;
> fz.Extract(filein,fileout,filter); fz.Zip(dirin,fileout,filter);
> If we don't have this would it be easier to at installation time download
> a command line zip utility and call it to unzip items. Which is easier?
> Lester L. Martin II

We hope to have at least similar functionality through the vfs package within a couple of releases.

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango
October 02, 2007
Reply to Lars,

> Lester L. Martin II wrote:
> 
>> Dear Community,
>> I am asking is Tango's zip ability enough to decompress its own zip
>> package, dmd's and dsss's.
>
> Not yet, currently Tango can only do compressed streams.
>

how hard would it be to make a wrapper?



October 02, 2007
BCS wrote:

> Reply to Lars,
> 
>> Lester L. Martin II wrote:
>> 
>>> Dear Community,
>>> I am asking is Tango's zip ability enough to decompress its own zip
>>> package, dmd's and dsss's.
>>
>> Not yet, currently Tango can only do compressed streams.
>>
> 
> how hard would it be to make a wrapper?

There isn't really anything to wrap beyond what is already wrapped in the streams. It is just a tedious matter of utilizing it.

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango