b.v.VirtualVersionedFiles(VersionedFiles) : class documentation

Part of bzrlib.versionedfile View In Hierarchy

Dummy implementation for VersionedFiles that uses other functions for obtaining fulltexts and parent maps.

This is always on the bottom of the stack and uses string keys (rather than tuples) internally.

Method __init__ Create a VirtualVersionedFiles.
Method check See VersionedFiles.check.
Method add_mpdiffs See VersionedFiles.mpdiffs.
Method get_parent_map See VersionedFiles.get_parent_map.
Method get_sha1s See VersionedFiles.get_sha1s.
Method get_record_stream See VersionedFiles.get_record_stream.
Method iter_lines_added_or_present_in_keys See VersionedFile.iter_lines_added_or_present_in_versions().

Inherited from VersionedFiles:

Method add_lines Add a text to the store.
Method annotate Return a list of (version-key, line) tuples for the text of key.
Static Method check_not_reserved_id Undocumented
Method clear_cache Clear whatever caches this VersionedFile holds.
Method get_known_graph_ancestry Get a KnownGraph instance with the ancestry of keys.
Method get_missing_compression_parent_keys Return an iterable of keys of missing compression parents.
Method insert_record_stream Insert a record stream into this container.
Method keys Return a iterable of the keys for all the contained texts.
Method make_mpdiffs Create multiparent diffs for specified keys.
Method get_annotator Undocumented
Method _add_text Add a text to the store.
Method _check_lines_not_unicode Check that lines being added to a versioned file are not unicode.
Method _check_lines_are_lines Check that the lines really are full lines without inline EOL.
Method _extract_blocks Undocumented
Method _transitive_fallbacks Return the whole stack of fallback versionedfiles.
def __init__(self, get_parent_map, get_lines):
Create a VirtualVersionedFiles.
Parametersget_parent_mapSame signature as Repository.get_parent_map.
get_linesShould return lines for specified key or None if not available.
def check(self, progressbar=None):
See VersionedFiles.check.
NoteAlways returns True for VirtualVersionedFiles.
def add_mpdiffs(self, records):
See VersionedFiles.mpdiffs.
NoteNot implemented for VirtualVersionedFiles.
def get_parent_map(self, keys):
See VersionedFiles.get_parent_map.
def get_sha1s(self, keys):
See VersionedFiles.get_sha1s.
def get_record_stream(self, keys, ordering, include_delta_closure):
See VersionedFiles.get_record_stream.
def iter_lines_added_or_present_in_keys(self, keys, pb=None):
See VersionedFile.iter_lines_added_or_present_in_versions().
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.