"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
compress: add extra debugging in case we have a repeat of #6434
Nick Craig-Wood5f13d84135f8
diff --git a/backend/compress/compress.go b/backend/compress/compress.goindex 6429e5a7e..6bfe1210c 100644--- a/backend/compress/compress.go+++ b/backend/compress/compress.go@@ -29,6 +29,7 @@ import ("github.com/rclone/rclone/fs/config/configstruct""github.com/rclone/rclone/fs/fspath""github.com/rclone/rclone/fs/hash"+ "github.com/rclone/rclone/fs/log""github.com/rclone/rclone/fs/object""github.com/rclone/rclone/fs/operations")@@ -1129,6 +1130,9 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, op// This will initialize the variables of a new press Object. The metadata object, mo, and metadata struct, meta, must be specified.func (f *Fs) newObject(o fs.Object, mo fs.Object, meta *ObjectMetadata) *Object {+ if o == nil {+ log.Trace(nil, "newObject(%#v, %#v, %#v) called with nil o", o, mo, meta)+ }return &Object{Object: o,f: f,@@ -1141,6 +1145,9 @@ func (f *Fs) newObject(o fs.Object, mo fs.Object, meta *ObjectMetadata) *Object// This initializes the variables of a press Object with only the size. The metadata will be loaded later on demand.func (f *Fs) newObjectSizeAndNameOnly(o fs.Object, moName string, size int64) *Object {+ if o == nil {+ log.Trace(nil, "newObjectSizeAndNameOnly(%#v, %#v, %#v) called with nil o", o, moName, size)+ }return &Object{Object: o,f: f,