mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-03 12:27:21 +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
|
@ -29,7 +29,7 @@ class FSService {
|
|||
|
||||
ArchiveBase* getArchiveFromID(u32 id);
|
||||
std::optional<Handle> openArchiveHandle(u32 archiveID, const FSPath& path);
|
||||
std::optional<Handle> openDirectoryHandle(ArchiveBase* archive, const FSPath& path);
|
||||
Rust::Result<Handle, FSResult> openDirectoryHandle(ArchiveBase* archive, const FSPath& path);
|
||||
std::optional<Handle> openFileHandle(ArchiveBase* archive, const FSPath& path, const FSPath& archivePath, const FilePerms& perms);
|
||||
FSPath readPath(u32 type, u32 pointer, u32 size);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue