"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
bisync: delete flushCache() function from tests
Dan McArdle6986a43b685d
diff --git a/cmd/bisync/bisync_test.go b/cmd/bisync/bisync_test.goindex 288371b7f..e9307d9ce 100644--- a/cmd/bisync/bisync_test.go+++ b/cmd/bisync/bisync_test.go@@ -532,7 +532,6 @@ func (b *bisyncTest) runTestStep(ctx context.Context, line string) (err error) {if err != nil {return err}- flushCache(fsrc)returncase "delete-file":b.checkArgs(args, 1, 1)@@ -769,13 +768,6 @@ func (b *bisyncTest) checkArgs(args []string, min, max int) {}}-func flushCache(f fs.Fs) {- dirCacheFlush := f.Features().DirCacheFlush- if dirCacheFlush == nil {- fs.Errorf(nil, "%v: can't flush dir cache", f)- }-}-func (b *bisyncTest) runBisync(ctx context.Context, args []string) (err error) {opt := &bisync.Options{Workdir: b.workDir,@@ -789,10 +781,6 @@ func (b *bisyncTest) runBisync(ctx context.Context, args []string) (err error) {octx, ci := fs.AddConfig(ctx)fs1, fs2 := b.fs1, b.fs2- // flush cache- flushCache(fs1)- flushCache(fs2)-addSubdir := func(path, subdir string) fs.Fs {remote := path + subdirf, err := fs.NewFs(ctx, remote)@@ -968,9 +956,6 @@ func (b *bisyncTest) listSubdirs(ctx context.Context, remote string, DirsOnly boreturn err}- // flush cache- flushCache(f)-opt := operations.ListJSONOpt{NoModTime: true,NoMimeType: true,