[FS] Add DeleteFile

This commit is contained in:
wheremyfoodat 2023-01-29 01:27:27 +02:00
parent a1cb50925f
commit 687c99cab6
13 changed files with 84 additions and 6 deletions

View file

@ -8,8 +8,10 @@ public:
u64 getFreeBytes() override { Helpers::panic("NCCH::GetFreeBytes unimplemented"); return 0; }
std::string name() override { return "NCCH"; }
ArchiveBase* openArchive(const FSPath& path) override;
CreateFileResult createFile(const FSPath& path, u64 size) override;
DeleteFileResult deleteFile(const FSPath& path) override;
ArchiveBase* openArchive(const FSPath& path) override;
FileDescriptor openFile(const FSPath& path, const FilePerms& perms) override;
std::optional<u32> readFile(FileSession* file, u64 offset, u32 size, u32 dataPointer) override;