[NIT] Managing repositories in MC

Ned Konz ned at bike-nomad.com
Sun Sep 21 21:43:41 UTC 2003


On Sunday 21 September 2003 01:18 pm, Avi Bryant wrote:
> One thing to play with would be to save two files for each version
> - a .mcz file that was complete, and a .mci file that just
> contained the version info.  Or I wonder if it's possible to use
> the byte-range extensions to HTTP to grab just the appropiate
> chunks of the ZIP file?

If you store the version info as the first member of the zip (either 
compressed or not) you can just grab the first packet's worth of 
bytes (1K or so). You will get the member header preceding it, which 
you can examine to make sure you have all the bytes.

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list