-
Committer:
James Westby
-
Date:
2007-03-30 16:20:00 UTC
-
mto:
(0.215.1 trunk)
-
mto:
This revision was merged to the branch mainline in
revision
6960.
-
Revision ID:
jw+debian@jameswestby.net-20070330162000-0muski7om3axcszs
Add some basic pack handling code.
It has classes for the index and data parts. It supports lookup of an object
name in the index, and then access to the object in the data part using the
offset returned from the index lookup.
There are many problems with it so far.
* The mmap in python has no offset, so the whole files are mapped.
* There is no support for delta objects.
* There is no consistency checking.
* The code is not hooked up to provide a simple API.
* The code is not hooked in to the repo, so that objects are still not
retrieved from packs.