Correct virtual files placeholder files if needed
authorFelix Weilbach <felix.weilbach@nextcloud.com>
Tue, 16 Nov 2021 10:50:43 +0000 (11:50 +0100)
committerMatthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr>
Wed, 17 Nov 2021 09:53:26 +0000 (09:53 +0000)
commitc76a77e43101e7825c79f8e1412609eb66ebfde0
tree1c5b5a534e309a8b0dc5b5a21e7995151f62ba6a
parent2308c9da49cbda0f137c4ac1a35cf64de9ade188
Correct virtual files placeholder files if needed

In the past not all files were converted to placeholder files when
converting an existing sync folder to a virtual files folder. Because
some files were not converted to placeholder files, the status would
be wrong on the files. This code makes sure that every file in a
virtual files folder is a placeholder file. It could be removed in the
future.

Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
src/common/syncjournaldb.cpp
src/common/syncjournaldb.h
src/gui/folder.cpp
src/gui/folder.h