Added CreateFile to the FS_USER service

Tested with hwtests.
This commit is contained in:
archshift
2014-12-20 12:43:50 -03:00
parent c2753d37a7
commit 0625dd09ea
8 changed files with 91 additions and 1 deletions

View File

@ -82,6 +82,15 @@ ResultCode RenameFileBetweenArchives(ArchiveHandle src_archive_handle, const Fil
*/
ResultCode DeleteDirectoryFromArchive(ArchiveHandle archive_handle, const FileSys::Path& path);
/**
* Create a File in an Archive
* @param archive_handle Handle to an open Archive object
* @param path Path to the File inside of the Archive
* @param file_size The size of the new file, filled with zeroes
* @return File creation result code
*/
ResultCode CreateFileInArchive(Handle archive_handle, const FileSys::Path& path, u32 file_size);
/**
* Create a Directory from an Archive
* @param archive_handle Handle to an open Archive object