"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
sugarsync: fix finding directories in a case insentive way #4830
Nick Craig-Wood3e188495f50e
diff --git a/backend/sugarsync/sugarsync.go b/backend/sugarsync/sugarsync.goindex ef388bc78..32335af28 100644--- a/backend/sugarsync/sugarsync.go+++ b/backend/sugarsync/sugarsync.go@@ -531,7 +531,7 @@ func (f *Fs) FindLeaf(ctx context.Context, pathID, leaf string) (pathIDOut strin//fs.Debugf(f, "FindLeaf(%q, %q)", pathID, leaf)// Find the leaf in pathIDfound, err = f.listAll(ctx, pathID, nil, func(item *api.Collection) bool {- if item.Name == leaf {+ if strings.EqualFold(item.Name, leaf) {pathIDOut = item.Refreturn true}