"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
drive: remove part of workaround for #1675
Nick Craig-Wood4d793b8ee842
diff --git a/backend/drive/drive.go b/backend/drive/drive.goindex d64b7ac81..5609ba3b6 100644--- a/backend/drive/drive.go+++ b/backend/drive/drive.go@@ -294,8 +294,7 @@ func (f *Fs) list(dirID string, title string, directoriesOnly bool, filesOnly bosearchTitle = strings.Replace(searchTitle, `'`, `\'`, -1)// Convert / to / for searchsearchTitle = strings.Replace(searchTitle, "/", "/", -1)- // use contains to work around #1675- query = append(query, fmt.Sprintf("name contains '%s'", searchTitle))+ query = append(query, fmt.Sprintf("name='%s'", searchTitle))}if directoriesOnly {query = append(query, fmt.Sprintf("mimeType='%s'", driveFolderType))@@ -343,7 +342,8 @@ OUTER:for _, item := range files.Files {// Convert / to / for listing purposesitem.Name = strings.Replace(item.Name, "/", "/", -1)- // skip items introduced by workaround (#1675)+ // Check the case of items is correct since+ // the `=` operator is case insensitive.if title != "" && title != item.Name {continue}