fetch and store in sync database information abot lock state of files
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Fri, 8 Apr 2022 08:23:50 +0000 (10:23 +0200)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Mon, 2 May 2022 11:52:05 +0000 (13:52 +0200)
commitdc95f2916557d5215b827d9d75ddfa8708669302
tree015a2a31f7dbcd7bb83a11a65b05aa42508821fe
parent860d7dd9de11dcf28f2f7b01b6bf560a1fcd31f1
fetch and store in sync database information abot lock state of files

fetch lock properties from server

decode them and store them in sync database

test to ensure we do properly handle those properties

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/common/syncjournaldb.cpp
src/common/syncjournalfilerecord.h
src/libsync/discovery.cpp
src/libsync/discoveryphase.cpp
src/libsync/discoveryphase.h
src/libsync/propagatedownload.cpp
src/libsync/syncfileitem.cpp
src/libsync/syncfileitem.h
test/syncenginetestutils.cpp
test/testlocaldiscovery.cpp