[ox/fs] Add base path access to PassthroughFS
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user