"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
azureblob: fix erroneous Rmdir error "directory not empty"
Nick Craig-Woodf7ce2e8d956c
diff --git a/backend/azureblob/azureblob.go b/backend/azureblob/azureblob.goindex 816c9101d..55e1517c7 100644--- a/backend/azureblob/azureblob.go+++ b/backend/azureblob/azureblob.go@@ -723,7 +723,7 @@ func (f *Fs) Mkdir(dir string) error {// isEmpty checks to see if a given directory is empty and returns an error if notfunc (f *Fs) isEmpty(dir string) (err error) {empty := true- err = f.list("", true, 1, func(remote string, object *azblob.BlobItem, isDirectory bool) error {+ err = f.list(dir, true, 1, func(remote string, object *azblob.BlobItem, isDirectory bool) error {empty = falsereturn nil})