Part of bzrlib.knit View In Hierarchy
Known subclasses: bzrlib.knit._NetworkContentMapGenerator, bzrlib.knit._VFContentMapGenerator
| Method | __init__ | Undocumented |
| Method | get_record_stream | Get a record stream for the keys requested during __init__. |
| Method | _get_content | Get the content object for key. |
| Method | _work | Produce maps of text and KnitContents as dicts. |
| Method | _get_one_work | Undocumented |
| Method | _wire_bytes | Get the bytes to put on the wire for 'key'. |
| Returns | (text_map, content_map) where text_map contains the texts for the requested versions and content_map contains the KnitContents. | |
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. | |