diff --git a/src/libsync/syncengine.cpp b/src/libsync/syncengine.cpp index 29ddcf6fd9..c48b75a563 100644 --- a/src/libsync/syncengine.cpp +++ b/src/libsync/syncengine.cpp @@ -1044,7 +1044,8 @@ void SyncEngine::wipeVirtualFiles(const QString &localPath, SyncJournalDb &journ journal.forceRemoteDiscoveryNextSync(); - // Postcondition: No ItemTypeVirtualFile / ItemTypeVirtualFileDownload left in the db + // Postcondition: No ItemTypeVirtualFile / ItemTypeVirtualFileDownload left in the db. + // But hydrated placeholders may still be around. } void SyncEngine::abort() diff --git a/src/libsync/syncengine.h b/src/libsync/syncengine.h index 9434ab5ace..add14d48e8 100644 --- a/src/libsync/syncengine.h +++ b/src/libsync/syncengine.h @@ -128,6 +128,9 @@ public: * * Particularly useful when switching off vfs mode or switching to a * different kind of vfs. + * + * Note that *hydrated* placeholder files might still be left. These will + * get cleaned up by Vfs::unregisterFolder(). */ static void wipeVirtualFiles(const QString &localPath, SyncJournalDb &journal, Vfs &vfs);