make migrate public abstract in base and override

This commit is contained in:
Shivam
2020-06-23 23:58:28 +02:00
parent 8b9cf6fc52
commit 8e8458ab8f
3 changed files with 8 additions and 6 deletions

View File

@ -16,12 +16,14 @@ namespace osu.Game.IO
{
internal virtual string[] IGNORE_DIRECTORIES { get; }
internal virtual string[] IGNORE_FILES { get; }
protected MigratableStorage(Storage storage, string subPath = null)
: base(storage, subPath)
{
}
abstract public void Migrate(string newLocation);
protected void DeleteRecursive(DirectoryInfo target, bool topLevelExcludes = true)
{
foreach (System.IO.FileInfo fi in target.GetFiles())