mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 12:42:54 +08:00
Rename const and fix unintended tabbing.
This commit is contained in:
parent
9f9206726a
commit
043385f919
@ -646,7 +646,7 @@ namespace osu.Game.Database
|
||||
/// Select paths to import from stable. Default implementation iterates all directories in <see cref="ImportFromStablePath"/>.
|
||||
/// </summary>
|
||||
protected virtual IEnumerable<string> GetStableImportPaths(StableStorage stableStorage) => stableStorage.GetDirectories(ImportFromStablePath)
|
||||
.Select(path => stableStorage.GetFullPath(path));
|
||||
.Select(path => stableStorage.GetFullPath(path));
|
||||
|
||||
/// <summary>
|
||||
/// Whether this specified path should be removed after successful import.
|
||||
|
@ -14,7 +14,7 @@ namespace osu.Game.IO
|
||||
/// </summary>
|
||||
public class StableStorage : DesktopStorage
|
||||
{
|
||||
private const string stable_songs_path = "Songs";
|
||||
private const string stable_default_songs_path = "Songs";
|
||||
|
||||
private readonly DesktopGameHost host;
|
||||
private readonly string songsPath;
|
||||
@ -36,7 +36,7 @@ namespace osu.Game.IO
|
||||
var configFile = GetStream(GetFiles(".", "osu!.*.cfg").First());
|
||||
var textReader = new StreamReader(configFile);
|
||||
|
||||
var songsDirectoryPath = Path.Combine(BasePath, stable_songs_path);
|
||||
var songsDirectoryPath = Path.Combine(BasePath, stable_default_songs_path);
|
||||
|
||||
while (!textReader.EndOfStream)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user