mirror of
https://github.com/rclone/rclone.git
synced 2025-05-31 08:15:50 +08:00
operations: implement --refresh-times flag to set modtimes on hashless backends
This commit is contained in:
@ -207,7 +207,7 @@ func equal(ctx context.Context, src fs.ObjectInfo, dst fs.Object, opt equalOpt)
|
||||
fs.Debugf(src, "%v differ", ht)
|
||||
return false
|
||||
}
|
||||
if ht == hash.None {
|
||||
if ht == hash.None && !fs.Config.RefreshTimes {
|
||||
// if couldn't check hash, return that they differ
|
||||
return false
|
||||
}
|
||||
|
Reference in New Issue
Block a user