From 5750795324c99cf5c0513d76cd3a7e2959a58d04 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 7 Mar 2024 12:35:26 +0000 Subject: [PATCH] protondrive: fix encoding of Root method This fixes the TestIntegration/FsMkdir/FsPutFiles/FsIsFile/FsRoot integration test. --- backend/protondrive/protondrive.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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