diff options
author | wwylele <wwylele@gmail.com> | 2016-10-02 05:29:04 +0200 |
---|---|---|
committer | wwylele <wwylele@gmail.com> | 2016-10-02 05:29:16 +0200 |
commit | 96b0e9476bdd010051bec427d365b49437801f4d (patch) | |
tree | 6a80eef8c0fbbf7e891755a102fcc8674efb1f26 /src/core/file_sys/archive_backend.h | |
parent | Merge pull request #2083 from yuriks/opengl-scissor-cached-rect (diff) | |
download | yuzu-96b0e9476bdd010051bec427d365b49437801f4d.tar yuzu-96b0e9476bdd010051bec427d365b49437801f4d.tar.gz yuzu-96b0e9476bdd010051bec427d365b49437801f4d.tar.bz2 yuzu-96b0e9476bdd010051bec427d365b49437801f4d.tar.lz yuzu-96b0e9476bdd010051bec427d365b49437801f4d.tar.xz yuzu-96b0e9476bdd010051bec427d365b49437801f4d.tar.zst yuzu-96b0e9476bdd010051bec427d365b49437801f4d.zip |
Diffstat (limited to 'src/core/file_sys/archive_backend.h')
-rw-r--r-- | src/core/file_sys/archive_backend.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/file_sys/archive_backend.h b/src/core/file_sys/archive_backend.h index d69c3c785..06b8f2ed7 100644 --- a/src/core/file_sys/archive_backend.h +++ b/src/core/file_sys/archive_backend.h @@ -112,6 +112,13 @@ public: virtual bool DeleteDirectory(const Path& path) const = 0; /** + * Delete a directory specified by its path and anything under it + * @param path Path relative to the archive + * @return Whether the directory could be deleted + */ + virtual bool DeleteDirectoryRecursively(const Path& path) const = 0; + + /** * Create a file specified by its path * @param path Path relative to the Archive * @param size The size of the new file, filled with zeroes |