diff options
author | archshift <admin@archshift.com> | 2014-10-29 06:52:56 +0100 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-11-02 19:48:28 +0100 |
commit | 04c90c395d27e6bc205fb2d933ced50e70c1841a (patch) | |
tree | 18f5e206016e383ad07493e3ad5ba1279301e6a8 /src/core/file_sys/archive.h | |
parent | Merge pull request #178 from archshift/errf (diff) | |
download | yuzu-04c90c395d27e6bc205fb2d933ced50e70c1841a.tar yuzu-04c90c395d27e6bc205fb2d933ced50e70c1841a.tar.gz yuzu-04c90c395d27e6bc205fb2d933ced50e70c1841a.tar.bz2 yuzu-04c90c395d27e6bc205fb2d933ced50e70c1841a.tar.lz yuzu-04c90c395d27e6bc205fb2d933ced50e70c1841a.tar.xz yuzu-04c90c395d27e6bc205fb2d933ced50e70c1841a.tar.zst yuzu-04c90c395d27e6bc205fb2d933ced50e70c1841a.zip |
Diffstat (limited to 'src/core/file_sys/archive.h')
-rw-r--r-- | src/core/file_sys/archive.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/file_sys/archive.h b/src/core/file_sys/archive.h index 560db6dea..aeabf09ac 100644 --- a/src/core/file_sys/archive.h +++ b/src/core/file_sys/archive.h @@ -57,6 +57,13 @@ public: virtual std::unique_ptr<File> OpenFile(const std::string& path, const Mode mode) const = 0; /** + * Create a directory specified by its path + * @param path Path relative to the archive + * @return Whether the directory could be created + */ + virtual bool CreateDirectory(const std::string& path) const = 0; + + /** * Open a directory specified by its path * @param path Path relative to the archive * @return Opened directory, or nullptr |