]> dgit.raspbian.org Git - nextcloud-desktop.git/commit
Convert VFS file to placeholder again if needed
authorDries Mys <dries.mys@my-dreams.be>
Sat, 15 Jul 2023 19:03:11 +0000 (21:03 +0200)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Wed, 26 Jul 2023 09:05:50 +0000 (11:05 +0200)
commit984d06e82afe3dab30bc96d6bd2a6060127118d0
treec90130fed2d9fc0f3752ed5e855fa26517894a2a
parentc501310b325abb1704af67a0d6e4097f7fe0b83c
Convert VFS file to placeholder again if needed

Note that Windows may convert a placeholder file to a regular file when
it is replaced by another file, even if the old and new file (inode,
modified time, file size) are identical.

WIN32_FIND_DATA::dwReserved0 is only initialised in case of
FILE_ATTRIBUTE_REPARSE_POINT is set. This field is not a bit set. Check
corrected to only include all cloud reparse points and not other special
reparse points.

Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
src/csync/csync.h
src/gui/folder.cpp
src/libsync/discovery.cpp
src/libsync/discoveryphase.cpp
src/libsync/discoveryphase.h
src/libsync/vfs/cfapi/cfapiwrapper.cpp
src/libsync/vfs/cfapi/cfapiwrapper.h
src/libsync/vfs/cfapi/vfs_cfapi.cpp
test/testsynccfapi.cpp