mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 11:35:46 +00:00
Merge pull request #271 from archshift/createf
Added CreateFile to the FS_USER service
This commit is contained in:
commit
572ce043c2
8 changed files with 91 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue