summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/archive.h
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-11-24 08:20:04 +0100
committerarchshift <admin@archshift.com>2014-11-25 00:09:11 +0100
commit45afc15aa6b9b1798a321bc053171deb765d7681 (patch)
tree54da02809c463f89462c3b29a48fb1564f699f01 /src/core/file_sys/archive.h
parentMerge pull request #147 from yuriks/error-codes (diff)
downloadyuzu-45afc15aa6b9b1798a321bc053171deb765d7681.tar
yuzu-45afc15aa6b9b1798a321bc053171deb765d7681.tar.gz
yuzu-45afc15aa6b9b1798a321bc053171deb765d7681.tar.bz2
yuzu-45afc15aa6b9b1798a321bc053171deb765d7681.tar.lz
yuzu-45afc15aa6b9b1798a321bc053171deb765d7681.tar.xz
yuzu-45afc15aa6b9b1798a321bc053171deb765d7681.tar.zst
yuzu-45afc15aa6b9b1798a321bc053171deb765d7681.zip
Diffstat (limited to 'src/core/file_sys/archive.h')
-rw-r--r--src/core/file_sys/archive.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/file_sys/archive.h b/src/core/file_sys/archive.h
index 2e79bb883..703742a1f 100644
--- a/src/core/file_sys/archive.h
+++ b/src/core/file_sys/archive.h
@@ -192,6 +192,14 @@ public:
virtual bool DeleteFile(const FileSys::Path& path) const = 0;
/**
+ * 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
+ */
+ virtual bool RenameFile(const FileSys::Path& src_path, const FileSys::Path& dest_path) const = 0;
+
+ /**
* Delete a directory specified by its path
* @param path Path relative to the archive
* @return Whether the directory could be deleted