Re: Careful object writing..
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- May 3, 2005, 20:02 UTC
- Message-ID
- <Pine.LNX.4.21.0505031539480.30848-100000@iabervon.org>
- In-Reply-To
- <20050503192753.GA6435@taniwha.stupidest.org>
On Tue, 3 May 2005, Chris Wedgwood wrote:
> i thought this was all common code? if it's not maybe now is the time > to change that?
The other versions are getting the tagged compressed object along with the intended hash from an external source. They both verify the result as they go (as opposed to the normal case which takes the uncompressed data and finds the hash, and therefore has to be right). The common part is really "open the file" and "close (and place) the file", which weren't previously sufficiently complex to justify sharing the code.
-Daniel *This .sig left intentionally blank*