Move reading root directory to VFS.

This commit is contained in:
2020-09-03 01:58:08 +01:00
parent 5229b88074
commit 9ce3f2213e
2 changed files with 9 additions and 21 deletions

View File

@@ -330,6 +330,14 @@ namespace RomRepoMgr.Core.Filesystem
return true;
}
internal IEnumerable<string> GetRootEntries()
{
if(_rootDirectoryCache.Count == 0)
FillRootDirectoryCache();
return _rootDirectoryCache.Keys.ToArray();
}
}
internal sealed class CachedMachine