mirror of
https://github.com/ppy/osu
synced 2025-02-17 10:57:03 +00:00
Remove unused GetUnderlyingStream method
This commit is contained in:
parent
546772192c
commit
68ebe98fde
@ -236,8 +236,6 @@ namespace osu.Game.Tests.Scores.IO
|
|||||||
}
|
}
|
||||||
|
|
||||||
public override IEnumerable<string> Filenames => new[] { "test_file.osr" };
|
public override IEnumerable<string> Filenames => new[] { "test_file.osr" };
|
||||||
|
|
||||||
public override Stream GetUnderlyingStream() => new MemoryStream();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,5 @@ namespace osu.Game.IO.Archives
|
|||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract Stream GetUnderlyingStream();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,5 @@ namespace osu.Game.IO.Archives
|
|||||||
}
|
}
|
||||||
|
|
||||||
public override IEnumerable<string> Filenames => Directory.GetFiles(path, "*", SearchOption.AllDirectories).Select(f => f.Replace(path, string.Empty).Trim(Path.DirectorySeparatorChar)).ToArray();
|
public override IEnumerable<string> Filenames => Directory.GetFiles(path, "*", SearchOption.AllDirectories).Select(f => f.Replace(path, string.Empty).Trim(Path.DirectorySeparatorChar)).ToArray();
|
||||||
|
|
||||||
public override Stream GetUnderlyingStream() => null;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,5 @@ namespace osu.Game.IO.Archives
|
|||||||
}
|
}
|
||||||
|
|
||||||
public override IEnumerable<string> Filenames => new[] { Name };
|
public override IEnumerable<string> Filenames => new[] { Name };
|
||||||
|
|
||||||
public override Stream GetUnderlyingStream() => null;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,5 @@ namespace osu.Game.IO.Archives
|
|||||||
}
|
}
|
||||||
|
|
||||||
public override IEnumerable<string> Filenames => archive.Entries.Select(e => e.Key).ExcludeSystemFileNames();
|
public override IEnumerable<string> Filenames => archive.Entries.Select(e => e.Key).ExcludeSystemFileNames();
|
||||||
|
|
||||||
public override Stream GetUnderlyingStream() => archiveStream;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user