mirror of
https://git.suyu.dev/suyu/suyu
synced 2026-05-22 05:35:46 +00:00
Implemented RenameFile in FS:USER
This commit is contained in:
@@ -52,6 +52,17 @@ ResultVal<Handle> OpenFileFromArchive(Handle archive_handle, const FileSys::Path
|
||||
*/
|
||||
Result DeleteFileFromArchive(Handle archive_handle, const FileSys::Path& path);
|
||||
|
||||
/**
|
||||
* Rename a File between two Archives
|
||||
* @param src_archive_handle Handle to the source Archive object
|
||||
* @param src_path Path to the File inside of the source Archive
|
||||
* @param dest_archive_handle Handle to the destination Archive object
|
||||
* @param dest_path Path to the File inside of the destination Archive
|
||||
* @return Whether rename succeeded
|
||||
*/
|
||||
Result RenameFileBetweenArchives(Handle src_archive_handle, const FileSys::Path& src_path,
|
||||
Handle dest_archive_handle, const FileSys::Path& dest_path);
|
||||
|
||||
/**
|
||||
* Delete a Directory from an Archive
|
||||
* @param archive_handle Handle to an open Archive object
|
||||
|
||||
Reference in New Issue
Block a user