dulwich.pack(View In Hierarchy)
Class to verify a pack stream as it is being read.
The pack is read from a ReceivableProtocol using read() or recv() as appropriate and written out to the given file-like object.
|Method||__init__||Initialize the copier.|
|Method||verify||Verify a pack stream and write it to the output file.|
|Method||_read||Read data from the read callback and write it to the file.|
Inherited from PackStreamReader:
|Method||read||Read, blocking until size bytes are read.|
|Method||recv||Read up to size bytes, blocking until one byte is read.|
|Method||read_objects||Read the objects in this pack file.|
|Parameters||read_all||Read function that blocks until the number of requested bytes are read.|
|read_some||Read function that returns at least one byte, but may not return the number of bytes requested.|
|outfile||File-like object to write output through.|
|delta_iter||Optional DeltaChainIterator to record deltas as we read them.|