Part of bzrlib.knit View In Hierarchy
Method | __init__ | Construct a _NetworkContentMapGenerator from a bytes block. |
Method | get_record_stream | Get a record stream for for keys requested by the bytestream. |
Method | _wire_bytes | Get the bytes to put on the wire for 'key'. |
Inherited from _ContentMapGenerator:
Method | _get_content | Get the content object for key. |
Method | _work | Produce maps of text and KnitContents as dicts. |
Method | _get_one_work | Undocumented |
The first collection of bytes asked for returns the serialised raw_record_map and the additional details (key, parent) for key. Subsequent calls return just the additional details (key, parent). The wire storage_kind given for the first key is 'knit-delta-closure', For subsequent keys it is 'knit-delta-closure-ref'.
Parameters | key | A key from the content generator. |
Returns | Bytes to put on the wire. |