webdav: fix SetModTime erasing checksums on owncloud and nextcloud

Before this change, calling SetModTime on owncloud and nextcloud would
inadvertently erase the object's stored hashes. This change fixes the issue,
which was discovered by the bisync integration tests.
This commit is contained in:
nielash
2024-04-02 11:26:59 -04:00
parent 75df38f6ee
commit 71069ed5c1
2 changed files with 34 additions and 3 deletions

View File

@@ -90,6 +90,7 @@ var logReplacements = []string{
`^NOTICE: .*?: Forced to upload files to set modification times on this backend.$`, dropMe,
`^INFO : .*? Committing uploads - please wait...$`, dropMe,
`^INFO : .*?: src and dst identical but can't set mod time without deleting and re-uploading$`, dropMe,
`^INFO : .*?: src and dst identical but can't set mod time without re-uploading$`, dropMe,
// ignore crypt info messages
`^INFO : .*?: Crypt detected! Using cryptcheck instead of check. \(Use --size-only or --ignore-checksum to disable\)$`, dropMe,
// ignore drive info messages