Virtual files: Wipe virtual after download completes, not before
authorChristian Kamm <mail@ckamm.de>
Wed, 30 May 2018 08:33:32 +0000 (10:33 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:57:54 +0000 (10:57 +0100)
commit6dba2e8b06c3b33d643527bee14e13306cc30fb0
tree36feaa3451ac61f3227c1eb1b0ab90fa285f85d3
parent530614bf7805dfb8b48d6d9f40020f976bf7b301
Virtual files: Wipe virtual after download completes, not before

Otherwise a interrupted or unsuccessful download would mean that the
download-intend was forgotten. The next sync would reestablish the
virtual file instead.
src/libsync/propagatedownload.cpp
test/testsyncvirtualfiles.cpp