b.t.PassThroughTransaction(object) : class documentation

Part of bzrlib.transactions View In Hierarchy

A pass through transaction

Method finish Clean up this transaction.
Method __init__ Undocumented
Method register_clean Register an_object as being clean.
Method register_dirty Register an_object as being dirty.
Method set_cache_size Do nothing, we are passing through.
Method writeable Pass through transactions allow writes.
def finish(self):
Clean up this transaction.
def __init__(self):
Undocumented
def register_clean(self, an_object, precious=False):
Register an_object as being clean.

Note that precious is only a hint, and PassThroughTransaction ignores it.

def register_dirty(self, an_object):
Register an_object as being dirty.

Dirty objects get informed when the transaction finishes.

def set_cache_size(self, ignored):
Do nothing, we are passing through.
def writeable(self):
Pass through transactions allow writes.
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.