mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Address review comments
Now asserting instead of an if-statement, change cast from OsuStorage to MigratableStorage and make internal virtual properties protected.
This commit is contained in:
@ -14,8 +14,8 @@ namespace osu.Game.IO
|
||||
/// </summary>
|
||||
public abstract class MigratableStorage : WrappedStorage
|
||||
{
|
||||
internal virtual string[] IgnoreDirectories => Array.Empty<string>();
|
||||
internal virtual string[] IgnoreFiles => Array.Empty<string>();
|
||||
public virtual string[] IgnoreDirectories => Array.Empty<string>();
|
||||
public virtual string[] IgnoreFiles => Array.Empty<string>();
|
||||
|
||||
protected MigratableStorage(Storage storage, string subPath = null)
|
||||
: base(storage, subPath)
|
||||
|
@ -14,9 +14,9 @@ namespace osu.Game.IO
|
||||
private readonly GameHost host;
|
||||
private readonly StorageConfigManager storageConfig;
|
||||
|
||||
internal override string[] IgnoreDirectories => new[] { "cache" };
|
||||
public override string[] IgnoreDirectories => new[] { "cache" };
|
||||
|
||||
internal override string[] IgnoreFiles => new[]
|
||||
public override string[] IgnoreFiles => new[]
|
||||
{
|
||||
"framework.ini",
|
||||
"storage.ini"
|
||||
|
Reference in New Issue
Block a user