Move static properties to parent class and inherit OsuStorage from it

This commit is contained in:
Shivam
2020-06-22 11:38:50 +02:00
parent dd9697032c
commit 21774b8967
3 changed files with 9 additions and 81 deletions

View File

@ -14,9 +14,13 @@ namespace osu.Game.IO
public abstract class MigratableStorage : WrappedStorage
{
virtual protected string[] IGNORE_DIRECTORIES { get; set; } = Array.Empty<string>();
internal static readonly string[] IGNORE_DIRECTORIES = { "cache" };
virtual protected string[] IGNORE_FILES { get; set; } = Array.Empty<string>();
internal static readonly string[] IGNORE_FILES =
{
"framework.ini",
"storage.ini"
};
public MigratableStorage(Storage storage, string subPath = null)
: base(storage, subPath)