mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-27 06:45:49 +03:00
Vfs: Clarify SyncEngine::wipeVirtualFiles()
Possibly the behavior should actually change and the function should de-placeholder all items, not just dehydrated ones.
This commit is contained in:
parent
5820ac8b41
commit
f89450648f
2 changed files with 5 additions and 1 deletions
|
@ -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()
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue