diff options
| author | bunnei <bunneidev@gmail.com> | 2014-11-02 17:15:52 -0500 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2014-11-02 17:15:52 -0500 |
| commit | 9be17e4d8420fecd42f61c9c26c1f31a3fad0d9d (patch) | |
| tree | 8904eaeb0422ef0e85ecd4c077874d9f0a63a9cc /src/core/file_sys/archive_romfs.h | |
| parent | be1fb2c5f29fe049f88558b9355702f5bb150832 (diff) | |
| parent | 04c90c395d27e6bc205fb2d933ced50e70c1841a (diff) | |
Merge pull request #163 from archshift/create-directory
Added CreateDirectory function to service/fs.cpp, and in Archive.
Diffstat (limited to 'src/core/file_sys/archive_romfs.h')
| -rw-r--r-- | src/core/file_sys/archive_romfs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/file_sys/archive_romfs.h b/src/core/file_sys/archive_romfs.h index fcdefa95f..ae2344e82 100644 --- a/src/core/file_sys/archive_romfs.h +++ b/src/core/file_sys/archive_romfs.h @@ -37,6 +37,13 @@ public: std::unique_ptr<File> OpenFile(const std::string& path, const Mode mode) const override; /** + * Create a directory specified by its path + * @param path Path relative to the archive + * @return Whether the directory could be created + */ + bool CreateDirectory(const std::string& path) const override; + + /** * Open a directory specified by its path * @param path Path relative to the archive * @return Opened directory, or nullptr |
