"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
opendrive: fix finding directories in a case insensitive way #4830
Nick Craig-Woodb4217fabd3e6
diff --git a/backend/opendrive/opendrive.go b/backend/opendrive/opendrive.goindex e58ad5781..43352cde0 100644--- a/backend/opendrive/opendrive.go+++ b/backend/opendrive/opendrive.go@@ -721,7 +721,7 @@ func (f *Fs) FindLeaf(ctx context.Context, pathID, leaf string) (pathIDOut strinfor _, folder := range folderList.Folders {// fs.Debugf(nil, "Folder: %s (%s)", folder.Name, folder.FolderID)- if leaf == folder.Name {+ if strings.EqualFold(leaf, folder.Name) {// foundreturn folder.FolderID, true, nil}