Part of bzrlib
Class | ContentFactory | Abstract interface for insertion and retrieval from a VersionedFile. |
Class | ChunkedContentFactory | Static data content factory. |
Class | FulltextContentFactory | Static data content factory. |
Class | AbsentContentFactory | A placeholder content factory for unavailable texts. |
Class | AdapterFactory | A content factory to adapt between key prefix's. |
Function | filter_absent | Adapt a record stream to remove absent records. |
Class | VersionedFile | Versioned text file storage. |
Class | RecordingVersionedFilesDecorator | A minimal versioned files that records calls made on it. |
Class | OrderingVersionedFilesDecorator | A VF that records calls, and returns keys in specific order. |
Class | KeyMapper | KeyMappers map between keys and underlying partitioned storage. |
Class | ConstantMapper | A key mapper that maps to a constant result. |
Class | URLEscapeMapper | Base class for use with transport backed storage. |
Class | PrefixMapper | A key mapper that extracts the first component of a key. |
Class | HashPrefixMapper | A key mapper that combines the first component of a key with a hash. |
Class | HashEscapedPrefixMapper | Combines the escaped first component of a key with a hash. |
Function | make_versioned_files_factory | Create a ThunkedVersionedFiles factory. |
Class | VersionedFiles | Storage for many versioned files. |
Class | ThunkedVersionedFiles | Storage for many versioned files thunked onto a 'VersionedFile' class. |
Class | VersionedFilesWithFallbacks | No class docstring; 3/3 methods documented |
Class | PlanWeaveMerge | Weave merge that takes a plan as its input. |
Class | WeaveMerge | Weave merge that takes a VersionedFile and two versions as its input. |
Class | VirtualVersionedFiles | Dummy implementation for VersionedFiles that uses other functions for |
Class | NoDupeAddLinesDecorator | Decorator for a VersionedFiles that skips doing an add_lines if the key |
Function | network_bytes_to_kind_and_offset | Strip of a record kind from the front of network_bytes. |
Class | NetworkRecordStream | A record_stream which reconstitures a serialised stream. |
Function | fulltext_network_to_record | Convert a network fulltext record to record. |
Function | record_to_fulltext_bytes | Undocumented |
Function | sort_groupcompress | Sort and group the keys in parent_map into groupcompress order. |
Class | _MPDiffGenerator | Pull out the functionality for generating mp_diffs. |
Class | _PlanMergeVersionedFile | A VersionedFile for uncommitted and committed texts. |
Function | _length_prefix | Undocumented |
Class | _KeyRefs | Undocumented |
This will create a callable which when called creates a ThunkedVersionedFiles on a transport, using mapper to access individual versioned files, and versioned_file_factory to create each individual file.