nextcloud-desktop/src/csync
Christian Kamm 04268becd1 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.
2019-04-09 12:46:35 +02:00
..
std Build fix for mingw64 7.3 (Qt 5.12.0) 2019-02-11 13:35:14 +01:00
vio vfs: Ensure SyncOptions::_vfs is never null 2018-11-26 13:02:48 +01:00
AUTHORS Move csync to src/csync 2017-08-22 11:18:22 +02:00
ChangeLog Move csync to src/csync 2017-08-22 11:18:22 +02:00
CMakeLists.txt CMakeLists.txt: increment sqlite version 2018-11-20 17:10:46 +01:00
config_csync.h.cmake Remove csync_misc: The code no longer use fnmatch 2018-11-15 07:26:44 +01:00
ConfigureChecks.cmake Remove csync_misc: The code no longer use fnmatch 2018-11-15 07:26:44 +01:00
COPYING Move csync to src/csync 2017-08-22 11:18:22 +02:00
csync_exclude.cpp Merge remote-tracking branch 'origin/2.5' 2019-03-04 09:36:29 +01:00
csync_exclude.h Discovery: Handle the blacklistFiles from the server capabilities 2018-12-22 18:19:37 +01:00
csync_util.cpp Merge remote-tracking branch 'origin/master' into new_discovery_algo 2018-10-04 11:23:19 +02:00
csync_util.h More cleanup of csync remains 2018-07-26 13:55:02 +02:00
csync_version.h.in Compile almost all of csync as C++ 2017-08-22 15:22:56 +02:00
csync.h Vfs: Clear up relationship between _type and pin state 2019-04-09 12:46:35 +02:00
DefineOptions.cmake Switch to standard opt-out BUILD_TESTING instead of opt-in UNIT_TESTING 2019-02-08 14:05:21 +01:00
INSTALL Move csync to src/csync 2017-08-22 11:18:22 +02:00
README Move csync to src/csync 2017-08-22 11:18:22 +02:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

WHAT IS CSYNC?
==============

csync is a lightweight utility to synchronize files between two directories on
a system or between multiple systems.

It synchronizes bidirectionally and allows the user to keep two copies of files
and directories in sync. csync uses widely adopted protocols, such as smb or
sftp, so that there is no need for a server component. It is a user-level
program which means you dont need to be a superuser or administrator.

CONTRIBUTIONS
=============

If you want to contribute to the development of the software then please join
the mailing list. Patches are accepted preferably created with git and we are
always glad to receive feedback or suggestions to the address
csync-devel@csync.org.
More information on the various mailing lists can be found at
http://www.csync.org/communication/.

You can also get the sourcecode straight from the git repository - see
http://git.csync.org/

DOCUMENTATION
=============

As a user you can find a userguide which is shipped with this package or is
available at the website. For developers there is doxygen documentation and
comments in the source code itself. See

http://www.csync.org/userguide/
and
http://www.csync.org/api/