[ox/fs] Add base path access to PassthroughFS

This commit is contained in:
2019-03-30 17:13:56 -05:00
parent 5dbe160633
commit 05c0eb2f78
4 changed files with 9 additions and 2 deletions

View File

@ -11,6 +11,7 @@
#if __has_include(<filesystem>)
#include <filesystem>
#include <string>
#include "filesystem.hpp"
@ -28,6 +29,8 @@ class PassThroughFS: public FileSystem {
~PassThroughFS();
[[nodiscard]] std::string basePath();
Error mkdir(const char *path, bool recursive = false) override;
Error move(const char *src, const char *dest) override;