Merge pull request #271 from archshift/createf

Added CreateFile to the FS_USER service
This commit is contained in:
bunnei
2014-12-21 01:45:00 -05:00
8 changed files with 91 additions and 1 deletions

View File

@ -208,6 +208,14 @@ public:
*/
virtual bool DeleteDirectory(const FileSys::Path& path) const = 0;
/**
* Create a file specified by its path
* @param path Path relative to the Archive
* @param size The size of the new file, filled with zeroes
* @return File creation result code
*/
virtual ResultCode CreateFile(const Path& path, u32 size) const = 0;
/**
* Create a directory specified by its path
* @param path Path relative to the archive