"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
cache: update internal tests with chunk path
remusba64d92bd35a7
diff --git a/cache/cache_internal_test.go b/cache/cache_internal_test.goindex a7bb697d4..1b0c1483e 100644--- a/cache/cache_internal_test.go+++ b/cache/cache_internal_test.go@@ -541,7 +541,8 @@ func cleanupFs(t *testing.T, f fs.Fs, b *cache.Persistent) {func newLocalCacheCryptFs(t *testing.T, localRemote, cacheRemote, cryptRemote string, purge bool, cfg map[string]string) (fs.Fs, *cache.Persistent) {fstest.Initialise()dbPath := filepath.Join(fs.CacheDir, "cache-backend", cacheRemote+".db")- boltDb, err := cache.GetPersistent(dbPath, &cache.Features{PurgeDb: true})+ chunkPath := filepath.Join(fs.CacheDir, "cache-backend", cacheRemote)+ boltDb, err := cache.GetPersistent(dbPath, chunkPath, &cache.Features{PurgeDb: true})require.NoError(t, err)localExists := false@@ -627,7 +628,8 @@ func newLocalCacheCryptFs(t *testing.T, localRemote, cacheRemote, cryptRemote stfunc newLocalCacheFs(t *testing.T, localRemote, cacheRemote string, cfg map[string]string) (fs.Fs, *cache.Persistent) {fstest.Initialise()dbPath := filepath.Join(fs.CacheDir, "cache-backend", cacheRemote+".db")- boltDb, err := cache.GetPersistent(dbPath, &cache.Features{PurgeDb: true})+ chunkPath := filepath.Join(fs.CacheDir, "cache-backend", cacheRemote)+ boltDb, err := cache.GetPersistent(dbPath, chunkPath, &cache.Features{PurgeDb: true})require.NoError(t, err)localExists := false