mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 13:27:34 +00:00
LibCore: Rename File
to DeprecatedFile
As usual, this removes many unused includes and moves used includes further down the chain.
This commit is contained in:
parent
14951b92ca
commit
d43a7eae54
193 changed files with 536 additions and 556 deletions
|
@ -13,8 +13,8 @@
|
|||
#include <AK/String.h>
|
||||
#include <AK/URL.h>
|
||||
#include <LibCore/ArgsParser.h>
|
||||
#include <LibCore/DeprecatedFile.h>
|
||||
#include <LibCore/EventLoop.h>
|
||||
#include <LibCore/File.h>
|
||||
#include <LibCore/System.h>
|
||||
#include <LibHTTP/HttpResponse.h>
|
||||
#include <LibMain/Main.h>
|
||||
|
@ -339,7 +339,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
if (i > -1)
|
||||
output_name = DeprecatedString::formatted("{}.{}", output_name, i);
|
||||
++i;
|
||||
} while (Core::File::exists(output_name));
|
||||
} while (Core::DeprecatedFile::exists(output_name));
|
||||
}
|
||||
|
||||
int target_file_fd = open(output_name.characters(), O_WRONLY | O_CREAT | O_TRUNC, 0644);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue