mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
b68a28de8d
The current logic tried to avoid a DB lookup just to fetch whether the file is shared or not since that info is already in the SyncFileItem. The implementation would however need to decrease the sync count for itself (and parents) before emitting the new status, thus emitting the OK status for parents before that last child that ended the propagation for that folder. Change the implementation to achieve what we want: give the possibility to decSyncCount to use a pre-fetched sharing state while still doing the emission for all involved files. This ensures that the leaf file also gets its status emitted before its parents. Issue #4797 |
||
---|---|---|
.. | ||
manual/favlink | ||
mockserver | ||
scripts | ||
CMakeLists.txt | ||
owncloud_add_test.cmake | ||
stub.cpp | ||
syncenginetestutils.h | ||
test_journal.db | ||
testchecksumvalidator.cpp | ||
testchunkingng.cpp | ||
testconcaturl.cpp | ||
testcsyncsqlite.cpp | ||
testexcludedfiles.cpp | ||
testfilesystem.cpp | ||
testfolder.cpp | ||
testfolderman.cpp | ||
testfolderwatcher.cpp | ||
testinotifywatcher.cpp | ||
testnetrcparser.cpp | ||
testowncloudpropagator.cpp | ||
testownsql.cpp | ||
testplan.txt | ||
testsyncengine.cpp | ||
testsyncfileitem.cpp | ||
testsyncfilestatustracker.cpp | ||
testsyncjournaldb.cpp | ||
testupdater.cpp | ||
testuploadreset.cpp | ||
testutility.cpp | ||
testxmlparse.cpp |