seafile_ynh/sources/seafile-server-3.1.1/seahub/thirdpart/wsgidav/interfaces/lockmanagerinterface.py
Elie 0f063400be Add sources
Former-commit-id: 2e47976ec5
2014-08-06 22:42:37 -04:00

19 lines
829 B
Python

class LockManagerInterface(object):
"""
+----------------------------------------------------------------------+
| TODO: document this interface |
| For now, see wsgidav.lock_manager instead |
+----------------------------------------------------------------------+
This class is an interface for a LockManager.
Implementations for the lock manager in WsgiDAV include::
wsgidav.lock_manager.LockManager
wsgidav.lock_manager.ShelveLockManager
All methods must be implemented.
The url variable in methods refers to the relative URL of a resource. e.g. the
resource http://server/share1/dir1/dir2/file3.txt would have a url of
'/share1/dir1/dir2/file3.txt'
"""