1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

Remove unused GetUnderlyingStream method

This commit is contained in:
Dean Herbert 2020-03-24 14:08:25 +09:00
parent 546772192c
commit 68ebe98fde
5 changed files with 0 additions and 10 deletions

View File

@ -236,8 +236,6 @@ namespace osu.Game.Tests.Scores.IO
}
public override IEnumerable<string> Filenames => new[] { "test_file.osr" };
public override Stream GetUnderlyingStream() => new MemoryStream();
}
}
}

View File

@ -45,7 +45,5 @@ namespace osu.Game.IO.Archives
return buffer;
}
}
public abstract Stream GetUnderlyingStream();
}
}

View File

@ -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 Stream GetUnderlyingStream() => null;
}
}

View File

@ -28,7 +28,5 @@ namespace osu.Game.IO.Archives
}
public override IEnumerable<string> Filenames => new[] { Name };
public override Stream GetUnderlyingStream() => null;
}
}

View File

@ -45,7 +45,5 @@ namespace osu.Game.IO.Archives
}
public override IEnumerable<string> Filenames => archive.Entries.Select(e => e.Key).ExcludeSystemFileNames();
public override Stream GetUnderlyingStream() => archiveStream;
}
}