"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
Catch nil from List() in tests
Nick Craig-Wood492362ec7d3b
diff --git a/fstest/fstest.go b/fstest/fstest.goindex ad4c0e0e8..760b1194b 100644--- a/fstest/fstest.go+++ b/fstest/fstest.go@@ -99,6 +99,10 @@ func (is *Items) Done(t *testing.T) {func CheckListingWithPrecision(t *testing.T, f fs.Fs, items []Item, precision time.Duration) {is := NewItems(items)for obj := range f.List() {+ if obj == nil {+ t.Errorf("Unexpected nil in List()")+ continue+ }is.Find(t, obj, precision)}is.Done(t)