1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:47:46 +00:00

LibCore: Completely drop DeprecatedFile

DeprecatedFile doesn't properly handle I/O or OOM errors, and only
provides a rudimentary interface to reasonably handle it. We have long
since learned how to do it "properly" with ErrorOr<> and similar
interfaces. See also d43a7eae54.

Note that this leaves behind an invocation to DeprecatedFile in
Ladybird/AndroidPlatform.cpp. However, that part of the system has
compilation errors since at least January, and will get removed or
rewritten as part of issue #19085. Let's not wait for this Android port
to remove this deprecated API.
This commit is contained in:
Ben Wiederhake 2023-05-18 15:55:09 +02:00 committed by Jelle Raaijmakers
parent c5a89e7e6b
commit 1e1caed1f7
5 changed files with 0 additions and 278 deletions

View file

@ -4,7 +4,6 @@ set(SOURCES
Command.cpp
ConfigFile.cpp
DateTime.cpp
DeprecatedFile.cpp
Directory.cpp
DirectoryEntry.cpp
DirIterator.cpp