diff options
| author | 2014-11-24 01:12:58 -0800 | |
|---|---|---|
| committer | 2014-11-24 15:09:12 -0800 | |
| commit | e5ff01c2cde0fe903140f0215461a68d4f489132 (patch) | |
| tree | 1ce6d82dcc1d154a98d5931d57c30e12ef0cc18f /src/core/file_sys/archive.h | |
| parent | Implemented RenameFile in FS:USER (diff) | |
| download | yuzu-e5ff01c2cde0fe903140f0215461a68d4f489132.tar.gz yuzu-e5ff01c2cde0fe903140f0215461a68d4f489132.tar.xz yuzu-e5ff01c2cde0fe903140f0215461a68d4f489132.zip | |
Implemented RenameDirectory in FS:USER
Diffstat (limited to 'src/core/file_sys/archive.h')
| -rw-r--r-- | src/core/file_sys/archive.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/file_sys/archive.h b/src/core/file_sys/archive.h index 703742a1f..5ea75361e 100644 --- a/src/core/file_sys/archive.h +++ b/src/core/file_sys/archive.h | |||
| @@ -214,6 +214,14 @@ public: | |||
| 214 | virtual bool CreateDirectory(const Path& path) const = 0; | 214 | virtual bool CreateDirectory(const Path& path) const = 0; |
| 215 | 215 | ||
| 216 | /** | 216 | /** |
| 217 | * Rename a Directory specified by its path | ||
| 218 | * @param src_path Source path relative to the archive | ||
| 219 | * @param dest_path Destination path relative to the archive | ||
| 220 | * @return Whether rename succeeded | ||
| 221 | */ | ||
| 222 | virtual bool RenameDirectory(const FileSys::Path& src_path, const FileSys::Path& dest_path) const = 0; | ||
| 223 | |||
| 224 | /** | ||
| 217 | * Open a directory specified by its path | 225 | * Open a directory specified by its path |
| 218 | * @param path Path relative to the archive | 226 | * @param path Path relative to the archive |
| 219 | * @return Opened directory, or nullptr | 227 | * @return Opened directory, or nullptr |