"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
fstest: Make Copy mutation test work properly
Nick Craig-Wood07805796ab41
diff --git a/fstest/fstests/fstests.go b/fstest/fstests/fstests.goindex b1651a55f..78f716dcb 100644--- a/fstest/fstests/fstests.go+++ b/fstest/fstests/fstests.go@@ -1276,6 +1276,8 @@ func Run(t *testing.T, opt *Opt) {err = dst.SetModTime(ctx, fstest.Time("2004-03-03T04:05:06.499999999Z"))if err != fs.ErrorCantSetModTimeWithoutDelete && err != fs.ErrorCantSetModTime {assert.NoError(t, err)+ // Re-read the source and check its modtime+ src = fstest.NewObject(ctx, t, f, src.Remote())assert.False(t, src.ModTime(ctx).Equal(dst.ModTime(ctx)), "mutating dst should not mutate src -- is it Copying by pointer?")}