Part of bzrlib.remote View In Hierarchy
This is not a public interface class.
Method | __init__ | Create a LockableFiles group |
Method | _find_modes | Determine the appropriate modes for files and directories. |
Inherited from LockableFiles:
Method | create_lock | Create the lock. |
Method | __repr__ | Undocumented |
Method | __str__ | Undocumented |
Method | break_lock | Break the lock of this lockable files group if it is held. |
Method | leave_in_place | Set this LockableFiles to not clear the physical lock on unlock. |
Method | dont_leave_in_place | Set this LockableFiles to clear the physical lock on unlock. |
Method | lock_write | Lock this group of files for writing. |
Method | lock_read | Undocumented |
Method | unlock | Undocumented |
Method | is_locked | Return true if this LockableFiles group is locked |
Method | get_physical_lock_status | Return physical lock status. |
Method | get_transaction | Return the current active transaction. |
Method | _escape | DEPRECATED: Do not use outside this class |
Method | _set_read_transaction | Setup a read transaction. |
Method | _set_write_transaction | Setup a write transaction. |
Method | _set_transaction | Set a new active transaction. |
Method | _finish_transaction | Exit the current transaction. |
Parameters | transport | Transport pointing to the directory holding the control files and lock. |
lock_name | Name of the lock guarding these files. | |
lock_class | Class of lock strategy to use: typically either LockDir or TransportLock. |