FS: Implement DiskFileSystem's OpenDirectory interface.

This commit is contained in:
Subv 2018-03-19 23:00:37 -05:00
parent e1d7b9fc2c
commit 6d90d99d12
5 changed files with 19 additions and 6 deletions

View file

@ -150,7 +150,8 @@ public:
* @param path Path relative to the archive
* @return Opened directory, or error code
*/
virtual ResultVal<std::unique_ptr<DirectoryBackend>> OpenDirectory(const Path& path) const = 0;
virtual ResultVal<std::unique_ptr<DirectoryBackend>> OpenDirectory(
const std::string& path) const = 0;
/**
* Get the free space