protondrive: fix encoding of Root method

This fixes the TestIntegration/FsMkdir/FsPutFiles/FsIsFile/FsRoot
integration test.
This commit is contained in:
Nick Craig-Wood 2024-03-07 12:35:26 +00:00
parent cdcb8b2a0a
commit 5750795324

View File

@ -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