diff options
Diffstat (limited to 'src/core/file_sys/archive_romfs.h')
-rw-r--r-- | src/core/file_sys/archive_romfs.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/core/file_sys/archive_romfs.h b/src/core/file_sys/archive_romfs.h index f05327f51..0649dde99 100644 --- a/src/core/file_sys/archive_romfs.h +++ b/src/core/file_sys/archive_romfs.h @@ -37,6 +37,20 @@ public: std::unique_ptr<File> OpenFile(const Path& path, const Mode mode) const override; /** + * Delete a file specified by its path + * @param path Path relative to the archive + * @return Whether the file could be deleted + */ + bool DeleteFile(const FileSys::Path& path) const override; + + /** + * Delete a directory specified by its path + * @param path Path relative to the archive + * @return Whether the directory could be deleted + */ + bool DeleteDirectory(const FileSys::Path& path) const override; + + /** * Create a directory specified by its path * @param path Path relative to the archive * @return Whether the directory could be created |