Part of bzrlib
"Containers" and "records" are described in doc/developers/container-format.txt.
| Class | ContainerSerialiser | A helper class for serialising containers. |
| Class | ContainerWriter | A class for writing containers to a file. |
| Class | ReadVFile | Adapt a readv result iterator to a file like protocol. |
| Function | make_readv_reader | Create a ContainerReader that will read selected records only. |
| Class | BaseReader | No class docstring; 1/3 methods documented |
| Class | ContainerReader | A class for reading Bazaar's container format. |
| Class | BytesRecordReader | No class docstring; 2/3 methods documented |
| Class | ContainerPushParser | A "push" parser for container format 1. |
| Function | iter_records_from_file | Undocumented |
| Function | _check_name | Do some basic checking of 'name'. |
| Function | _check_name_encoding | Check that 'name' is valid UTF-8. |
At the moment, this just checks that there are no whitespace characters in a name.
| Raises | InvalidRecordError | if name is not valid. |
| See Also | _check_name_encoding | |
This is separate from _check_name because UTF-8 decoding is relatively expensive, and we usually want to avoid it.
| Raises | InvalidRecordError | if name is not valid UTF-8. |
| Parameters | transport | The transport the pack file is located on. |
| filename | The filename of the pack file. | |
| requested_records | The record offset, length tuples as returned by add_bytes_record for the desired records. |