Branch: Tag:

2018-03-27

2018-03-27 15:14:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

WebDAV: Changed API for find_locks().

Instead of returning a multiset(DAVLock) it now returns
a mapping(string:DAVLock), where the mapping is indexed
on locktoken.

470:    void invalidate_cache();    void clear_memory_caches();    string examine_return_mapping(mapping m); -  multiset(DAVLock) find_locks(string path, int(-1..1) recursive, +  mapping(string:DAVLock) find_locks(string path, int(-1..1) recursive,    int(0..1) exclude_shared, RequestID id);    DAVLock|LockFlag check_locks(string path, int(0..1) recursive, RequestID id);    mapping(string:mixed) unlock_file(string path, DAVLock lock, RequestID|int(0..0) id);
3940:       string resource_id (string path, RequestID id);    string|int authenticated_user_id (string path, RequestID id); -  multiset(DAVLock) find_locks(string path, +  mapping(string:DAVLock) find_locks(string path,    int(-1..1) recursive,    int(0..1) exclude_shared,    RequestID id);