mirror of https://github.com/ppy/osu
Fix missing `MutatePath` calls
This commit is contained in:
parent
218642c300
commit
5bf17dde9f
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue