"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
staticcheck: empty branch
albertonya1fd60ec2b29
diff --git a/backend/yandex/yandex.go b/backend/yandex/yandex.goindex 7eea7187f..3097a8bc9 100644--- a/backend/yandex/yandex.go+++ b/backend/yandex/yandex.go@@ -782,11 +782,11 @@ func (f *Fs) DirMove(ctx context.Context, src fs.Fs, srcRemote, dstRemote string}_, err = f.readMetaDataForPath(ctx, dstPath, &api.ResourceInfoRequestOptions{})- if apiErr, ok := err.(*api.ErrorResponse); ok {+ if _, ok := err.(*api.ErrorResponse); ok {// does not exist- if apiErr.ErrorName == "DiskNotFoundError" {- // OK- }+ //if apiErr.ErrorName == "DiskNotFoundError" {+ // // OK+ //}} else if err != nil {return err} else {diff --git a/fstest/fstests/fstests.go b/fstest/fstests/fstests.goindex 286a67871..97e44ea1a 100644--- a/fstest/fstests/fstests.go+++ b/fstest/fstests/fstests.go@@ -1459,9 +1459,7 @@ func Run(t *testing.T, opt *Opt) {assert.Equal(t, metaMimeType, gotMimeType)}})- } else {- // Have some metadata here we didn't write - can't really check it!- }+ } // else: Have some metadata here we didn't write - can't really check it!})// TestObjectSetModTime tests that SetModTime works