Possibly the behavior should actually change and the function should
de-placeholder all items, not just dehydrated ones.
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()
*
* 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);