"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
combine: propagate SlowHash feature
skbeh43a794860ffd
diff --git a/backend/combine/combine.go b/backend/combine/combine.goindex d01071a95..80e2d6d0f 100644--- a/backend/combine/combine.go+++ b/backend/combine/combine.go@@ -241,18 +241,22 @@ func NewFs(ctx context.Context, name, root string, m configmap.Mapper) (outFs fsDirModTimeUpdatesOnWrite: true,PartialUploads: true,}).Fill(ctx, f)- canMove := true+ canMove, slowHash := true, falsefor _, u := range f.upstreams {features = features.Mask(ctx, u.f) // Mask all upstream fsif !operations.CanServerSideMove(u.f) {canMove = false}+ slowHash = slowHash || u.f.Features().SlowHash}// We can move if all remotes support Move or Copyif canMove {features.Move = f.Move}+ // If any of upstreams are SlowHash, propagate it+ features.SlowHash = slowHash+// Enable ListR when upstreams either support ListR or is local// But not when all upstreams are localif features.ListR == nil {