diff options
Diffstat (limited to 'src/core/file_sys/archive.h')
| -rw-r--r-- | src/core/file_sys/archive.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/core/file_sys/archive.h b/src/core/file_sys/archive.h index c2426a153..f3cb11133 100644 --- a/src/core/file_sys/archive.h +++ b/src/core/file_sys/archive.h | |||
| @@ -194,6 +194,14 @@ public: | |||
| 194 | virtual bool DeleteFile(const FileSys::Path& path) const = 0; | 194 | virtual bool DeleteFile(const FileSys::Path& path) const = 0; |
| 195 | 195 | ||
| 196 | /** | 196 | /** |
| 197 | * Rename a File specified by its path | ||
| 198 | * @param src_path Source path relative to the archive | ||
| 199 | * @param dest_path Destination path relative to the archive | ||
| 200 | * @return Whether rename succeeded | ||
| 201 | */ | ||
| 202 | virtual bool RenameFile(const FileSys::Path& src_path, const FileSys::Path& dest_path) const = 0; | ||
| 203 | |||
| 204 | /** | ||
| 197 | * Delete a directory specified by its path | 205 | * Delete a directory specified by its path |
| 198 | * @param path Path relative to the archive | 206 | * @param path Path relative to the archive |
| 199 | * @return Whether the directory could be deleted | 207 | * @return Whether the directory could be deleted |
| @@ -208,6 +216,14 @@ public: | |||
| 208 | virtual bool CreateDirectory(const Path& path) const = 0; | 216 | virtual bool CreateDirectory(const Path& path) const = 0; |
| 209 | 217 | ||
| 210 | /** | 218 | /** |
| 219 | * Rename a Directory specified by its path | ||
| 220 | * @param src_path Source path relative to the archive | ||
| 221 | * @param dest_path Destination path relative to the archive | ||
| 222 | * @return Whether rename succeeded | ||
| 223 | */ | ||
| 224 | virtual bool RenameDirectory(const FileSys::Path& src_path, const FileSys::Path& dest_path) const = 0; | ||
| 225 | |||
| 226 | /** | ||
| 211 | * Open a directory specified by its path | 227 | * Open a directory specified by its path |
| 212 | * @param path Path relative to the archive | 228 | * @param path Path relative to the archive |
| 213 | * @return Opened directory, or nullptr | 229 | * @return Opened directory, or nullptr |