Vfs: Make files that end up in db placeholders
authorChristian Kamm <mail@ckamm.de>
Mon, 21 Jan 2019 10:22:40 +0000 (11:22 +0100)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:37 +0000 (10:58 +0100)
commit31394f14b57d687c965865014d391eb27fad3660
treed1f83c263f95e6c504decce513c61427daa02474
parentca0323e1e70d33f7f17b1a1ec844e40f7e8b4f5e
Vfs: Make files that end up in db placeholders

Since 'placeholder' just means that it's an item of the special type
that the vfs plugin can deal with - no matter whether hydrated or
dehydrated - all done items should become placeholders. Even
directories.

Now every file that passes through updateMetadata() will be converted to
a placeholder if necessary.
src/common/vfs.h
src/libsync/owncloudpropagator.cpp
src/libsync/owncloudpropagator.h
src/libsync/propagatedownload.cpp
src/libsync/syncengine.cpp
src/libsync/vfs/suffix/vfs_suffix.cpp
src/libsync/vfs/suffix/vfs_suffix.h