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

fichier: fix NewObject after lib/encoder changes

Nick Craig-Wood04eb96b50bfd
diff --git a/backend/fichier/fichier.go b/backend/fichier/fichier.go
index b07b63810..820a47e46 100644
--- a/backend/fichier/fichier.go
+++ b/backend/fichier/fichier.go
@@ -144,8 +144,7 @@ func (f *Fs) Features() *fs.Features {
//
// On Windows avoid single character remote names as they can be mixed
// up with drive letters.
-func NewFs(name string, rootleaf string, config configmap.Mapper) (fs.Fs, error) {
- root := enc.FromStandardPath(rootleaf)
+func NewFs(name string, root string, config configmap.Mapper) (fs.Fs, error) {
opt := new(Options)
err := configstruct.Set(config, opt)
if err != nil {