"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: ignore suggestion to use context.TODO instead of nil when testing nil Context
albertonyc9d67c86fb69
diff --git a/fs/config_test.go b/fs/config_test.goindex 9813dc218..f9157bbf6 100644--- a/fs/config_test.go+++ b/fs/config_test.go@@ -11,7 +11,7 @@ func TestGetConfig(t *testing.T) {ctx := context.Background()// Check nil- config := GetConfig(nil)+ config := GetConfig(nil) //lint:ignore SA1012 we want to test passing a nil Context and therefore ignore lint suggestion of using context.TODOassert.Equal(t, globalConfig, config)// Check empty configdiff --git a/fs/filter/filter_test.go b/fs/filter/filter_test.goindex 27da120c4..aada638fc 100644--- a/fs/filter/filter_test.go+++ b/fs/filter/filter_test.go@@ -798,7 +798,7 @@ func TestGetConfig(t *testing.T) {ctx := context.Background()// Check nil- config := GetConfig(nil)+ config := GetConfig(nil) //lint:ignore SA1012 we want to test passing a nil Context and therefore ignore lint suggestion of using context.TODOassert.Equal(t, globalConfig, config)// Check empty config