Closed bigcat88 closed 6 months ago
Implemented using WebDAV requests.
async def lock(self, path: FsNode | str, lock_type: LockType = LockType.MANUAL_LOCK) -> None: """Locks the file. .. note:: Exception codes: 423 - existing lock present. """ pass async def unlock(self, path: FsNode | str) -> None: """Unlocks the file. .. note:: Exception codes: 412 - the file is not locked, 423 - the lock is owned by another user. """ pass
Reference: https://github.com/nextcloud/files_lock
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (10417cf) 99.83% compared to head (df9fa6a) 99.84%.
10417cf
df9fa6a
Implemented using WebDAV requests.
Reference: https://github.com/nextcloud/files_lock