mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 21:05:50 +12:00
[FS] Integrate Result<T, E> to codebase
This commit is contained in:
parent
38eb4d8088
commit
4f2d59ccbe
15 changed files with 122 additions and 114 deletions
|
@ -9,14 +9,14 @@ namespace PathType {
|
|||
};
|
||||
};
|
||||
|
||||
CreateFileResult SelfNCCHArchive::createFile(const FSPath& path, u64 size) {
|
||||
FSResult SelfNCCHArchive::createFile(const FSPath& path, u64 size) {
|
||||
Helpers::panic("[SelfNCCH] CreateFile not yet supported");
|
||||
return CreateFileResult::Success;
|
||||
return FSResult::Success;
|
||||
}
|
||||
|
||||
DeleteFileResult SelfNCCHArchive::deleteFile(const FSPath& path) {
|
||||
FSResult SelfNCCHArchive::deleteFile(const FSPath& path) {
|
||||
Helpers::panic("[SelfNCCH] Unimplemented DeleteFile");
|
||||
return DeleteFileResult::Success;
|
||||
return FSResult::Success;
|
||||
}
|
||||
|
||||
FileDescriptor SelfNCCHArchive::openFile(const FSPath& path, const FilePerms& perms) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue