Fix missing `MutatePath` calls

This commit is contained in:
Dean Herbert 2022-05-21 14:35:07 +09:00
parent 218642c300
commit 5bf17dde9f
1 changed files with 2 additions and 2 deletions

View File

@ -67,12 +67,12 @@ public IEnumerable<string> ToLocalRelative(IEnumerable<string> paths)
public override IEnumerable<string> GetFiles(string path, string pattern = "*") =>
ToLocalRelative(UnderlyingStorage.GetFiles(MutatePath(path), pattern));
public override Stream CreateFileSafely(string path) => UnderlyingStorage.CreateFileSafely(path);
public override Stream CreateFileSafely(string path) => UnderlyingStorage.CreateFileSafely(MutatePath(path));
public override Stream GetStream(string path, FileAccess access = FileAccess.Read, FileMode mode = FileMode.OpenOrCreate) =>
UnderlyingStorage.GetStream(MutatePath(path), access, mode);
public override void Move(string from, string to) => UnderlyingStorage.Move(from, to);
public override void Move(string from, string to) => UnderlyingStorage.Move(MutatePath(from), MutatePath(to));
public override bool OpenFileExternally(string filename) => UnderlyingStorage.OpenFileExternally(MutatePath(filename));