"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
Add debugging to print hash values on failed hash comparison
Nick Craig-Woode2f0feef3cf4
diff --git a/fs/operations.go b/fs/operations.goindex a856e6f82..785ca2b1b 100644--- a/fs/operations.go+++ b/fs/operations.go@@ -88,6 +88,10 @@ func CheckHashes(src, dst Object) (equal bool, hash HashType, err error) {if dstHash == "" {return true, HashNone, nil}+ if srcHash != dstHash {+ Debugf(src, "%v = %s (%v)", hash, srcHash, src.Fs())+ Debugf(dst, "%v = %s (%v)", hash, dstHash, dst.Fs())+ }return srcHash == dstHash, hash, nil}