aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/file_sys/archive_romfs.h
diff options
context:
space:
mode:
authorGravatar archshift <admin@archshift.com>2014-11-23 23:20:04 -0800
committerGravatar archshift <admin@archshift.com>2014-11-24 15:09:11 -0800
commit45afc15aa6b9b1798a321bc053171deb765d7681 (patch)
tree54da02809c463f89462c3b29a48fb1564f699f01 /src/core/file_sys/archive_romfs.h
parentbb730855e58d18d8964d158a55822c40503d548f (diff)
Implemented RenameFile in FS:USER
Diffstat (limited to 'src/core/file_sys/archive_romfs.h')
-rw-r--r--src/core/file_sys/archive_romfs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/file_sys/archive_romfs.h b/src/core/file_sys/archive_romfs.h
index 0649dde9..d14372a0 100644
--- a/src/core/file_sys/archive_romfs.h
+++ b/src/core/file_sys/archive_romfs.h
@@ -44,6 +44,14 @@ public:
bool DeleteFile(const FileSys::Path& path) const override;
/**
+ * Rename a File specified by its path
+ * @param src_path Source path relative to the archive
+ * @param dest_path Destination path relative to the archive
+ * @return Whether rename succeeded
+ */
+ bool RenameFile(const FileSys::Path& src_path, const FileSys::Path& dest_path) const override;
+
+ /**
* Delete a directory specified by its path
* @param path Path relative to the archive
* @return Whether the directory could be deleted