b.v.RecordingVersionedFilesDecorator(object) : class documentation

Part of bzrlib.versionedfile View In Hierarchy

Known subclasses: bzrlib.versionedfile.OrderingVersionedFilesDecorator

A minimal versioned files that records calls made on it.

Only enough methods have been added to support tests using it to date.

Instance VariablescallsA list of the calls made; can be reset at any time by assigning [] to it.
Method __init__ Create a RecordingVersionedFilesDecorator decorating backing_vf.
Method add_lines Undocumented
Method check Undocumented
Method get_parent_map Undocumented
Method get_record_stream Undocumented
Method get_sha1s Undocumented
Method iter_lines_added_or_present_in_keys Undocumented
Method keys Undocumented
def __init__(self, backing_vf):
Create a RecordingVersionedFilesDecorator decorating backing_vf.
Parametersbacking_vfThe versioned file to answer all methods.
def add_lines(self, key, parents, lines, parent_texts=None, left_matching_blocks=None, nostore_sha=None, random_id=False, check_content=True):
Undocumented
def check(self):
Undocumented
def get_parent_map(self, keys):
Undocumented
def get_record_stream(self, keys, sort_order, include_delta_closure):
Undocumented
def get_sha1s(self, keys):
Undocumented
def iter_lines_added_or_present_in_keys(self, keys, pb=None):
Undocumented
def keys(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.