mirror of
https://github.com/ppy/osu
synced 2025-01-19 04:20:59 +00:00
Fix missing MutatePath
calls
This commit is contained in:
parent
218642c300
commit
5bf17dde9f
@ -67,12 +67,12 @@ namespace osu.Game.IO
|
||||
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
Block a user