do not consider that a file has changed if its mtime is invalid
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Tue, 7 Dec 2021 10:48:13 +0000 (11:48 +0100)
committerMatthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr>
Wed, 8 Dec 2021 07:22:24 +0000 (07:22 +0000)
commit76c8d7287e1b8ab79b08e7bace53f54acf1f0307
tree271fe821739b9d9590f44b7b83934d3d1433f245
parent389424c54b9f46c44dca4e736c3d0e3aa0f3b522
do not consider that a file has changed if its mtime is invalid

a mtime should never be 0 or negative

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/libsync/filesystem.cpp