nextcloud-desktop/src
Christian Kamm 590db28541
Vfs: Clear up relationship between _type and pin state
The pin state is a per-item attribute that has an effect on _type:
AlwaysLocal dehydrated files will be marked for hydration and OnlineOnly
hydrated files will be marked for dehydration.

Where exactly this effect materializes depends on how the pin states are
stored. If they're stored in the db (suffix) the dbEntry._type is
changed during the discovery.

If the pin state is stored in the filesystem, the localEntry._type must
be adjusted by the plugin's stat callback.

This patch makes pin states behave more consistently between plugins.
Previously with suffix-vfs pin states only had an effect on new remote
files. Now the effect of pinning or unpinning files or directories is as
documented and similar to other plugins.
2020-12-15 10:58:46 +01:00
..
3rdparty Sqlite: Update to 3.27.2 2020-12-15 10:58:46 +01:00
cmd Ensure local discovery on selective sync changes 2020-12-15 10:58:41 +01:00
common Vfs: Clear up relationship between _type and pin state 2020-12-15 10:58:46 +01:00
crashreporter Install libocsync to lib/ without subfolder. 2020-12-15 10:57:56 +01:00
csync Vfs: Clear up relationship between _type and pin state 2020-12-15 10:58:46 +01:00
gui Vfs: Clear up relationship between _type and pin state 2020-12-15 10:58:46 +01:00
libsync Vfs: Clear up relationship between _type and pin state 2020-12-15 10:58:46 +01:00
CMakeLists.txt Build fix for mingw64 7.3 (Qt 5.12.0) 2020-12-15 10:58:37 +01:00