mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 20:17:13 +02:00
Everywhere: Make JSON serialization fallible
This allows us to eliminate a major source of infallible allocation in the Kernel, as well as lay down the groundwork for OOM fallibility in userland.
This commit is contained in:
committed by
Andreas Kling
parent
6682afb5d4
commit
feb00b7105
Notes:
sideshowbarker
2024-07-17 18:09:57 +09:00
Author: https://github.com/IdanHo Commit: https://github.com/SerenityOS/serenity/commit/feb00b7105 Pull-request: https://github.com/SerenityOS/serenity/pull/12754 Reviewed-by: https://github.com/bgianfo ✅ Reviewed-by: https://github.com/elcuco
@@ -68,7 +68,7 @@ public:
|
||||
ErrorOr<void> mknod(StringView path, mode_t, dev_t, Custody& base);
|
||||
ErrorOr<NonnullRefPtr<Custody>> open_directory(StringView path, Custody& base);
|
||||
|
||||
void for_each_mount(Function<IterationDecision(const Mount&)>) const;
|
||||
ErrorOr<void> for_each_mount(Function<ErrorOr<void>(const Mount&)>) const;
|
||||
|
||||
InodeIdentifier root_inode_id() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user