"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
filefabric: fix finding directories in a case insensitive way #4830
Nick Craig-Wood78afe01d15f1
diff --git a/backend/filefabric/filefabric.go b/backend/filefabric/filefabric.goindex fb6241b04..4307f5b21 100644--- a/backend/filefabric/filefabric.go+++ b/backend/filefabric/filefabric.go@@ -536,7 +536,7 @@ func (f *Fs) NewObject(ctx context.Context, remote string) (fs.Object, error) {func (f *Fs) FindLeaf(ctx context.Context, pathID, leaf string) (pathIDOut string, found bool, err error) {// Find the leaf in pathIDfound, err = f.listAll(ctx, pathID, true, false, func(item *api.Item) bool {- if item.Name == leaf {+ if strings.EqualFold(item.Name, leaf) {pathIDOut = item.IDreturn true}