b.l.TransportLock(object) : class documentation

Part of bzrlib.lockable_files View In Hierarchy

Locking method which uses transport-dependent locks.

On the local filesystem these transform into OS-managed locks.

These do not guard against concurrent access via different transports.

This is suitable for use only in WorkingTrees (which are at present always local).

Method __init__ Undocumented
Method break_lock Undocumented
Method leave_in_place Undocumented
Method dont_leave_in_place Undocumented
Method lock_write Undocumented
Method lock_read Undocumented
Method unlock Undocumented
Method peek Undocumented
Method create Create lock mechanism
Method validate_token Undocumented
def __init__(self, transport, escaped_name, file_modebits, dir_modebits):
Undocumented
def break_lock(self):
Undocumented
def leave_in_place(self):
Undocumented
def dont_leave_in_place(self):
Undocumented
def lock_write(self, token=None):
Undocumented
def lock_read(self):
Undocumented
def unlock(self):
Undocumented
def peek(self):
Undocumented
def create(self, mode=None):
Create lock mechanism
def validate_token(self, token):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2019-07-19 00:30:15.