vfs: Add GetEntries method

Maps name string to directory or file.
This commit is contained in:
Zach Hilman
2018-09-19 21:54:14 -04:00
parent bd8db3f7f8
commit d6cbb3a3e0
4 changed files with 32 additions and 0 deletions

View File

@ -98,6 +98,7 @@ public:
bool DeleteFile(std::string_view name) override;
bool Rename(std::string_view name) override;
std::string GetFullPath() const override;
std::map<std::string, VfsEntryType> GetEntries() const override;
protected:
bool ReplaceFileWithSubdirectory(VirtualFile file, VirtualDir dir) override;