mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 14:22:04 +08:00
operations: debug successful hashes as well as failures #3419
This commit is contained in:
parent
eb087a3b04
commit
93228dfcc9
|
@ -89,6 +89,8 @@ func checkHashes(ctx context.Context, src fs.ObjectInfo, dst fs.Object, ht hash.
|
|||
if srcHash != dstHash {
|
||||
fs.Debugf(src, "%v = %s (%v)", ht, srcHash, src.Fs())
|
||||
fs.Debugf(dst, "%v = %s (%v)", ht, dstHash, dst.Fs())
|
||||
} else {
|
||||
fs.Debugf(src, "%v = %s OK", ht, srcHash)
|
||||
}
|
||||
return srcHash == dstHash, ht, srcHash, dstHash, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user