Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

protondrive: fix encoding of Root method

Nick Craig-Wood5750795324c9
diff --git a/backend/protondrive/protondrive.go b/backend/protondrive/protondrive.go
index d82575aa6..192fe5374 100644
--- a/backend/protondrive/protondrive.go
+++ b/backend/protondrive/protondrive.go
@@ -244,7 +244,7 @@ func (f *Fs) Name() string {
// Root of the remote (as passed into NewFs)
func (f *Fs) Root() string {
- return f.root
+ return f.opt.Enc.ToStandardPath(f.root)
}
// String converts this Fs to a string