mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 01:29:17 +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
Notes:
sideshowbarker
2024-07-17 02:23:25 +09:00
Author: https://github.com/timschumi
Commit: d43a7eae54
Pull-request: https://github.com/SerenityOS/serenity/pull/17406
Reviewed-by: https://github.com/linusg
193 changed files with 536 additions and 556 deletions
|
@ -6,8 +6,8 @@
|
|||
*/
|
||||
|
||||
#include <DevTools/SQLStudio/SQLStudioGML.h>
|
||||
#include <LibCore/DeprecatedFile.h>
|
||||
#include <LibCore/DirIterator.h>
|
||||
#include <LibCore/File.h>
|
||||
#include <LibCore/StandardPaths.h>
|
||||
#include <LibDesktop/Launcher.h>
|
||||
#include <LibGUI/Action.h>
|
||||
|
@ -45,7 +45,7 @@ static Vector<DeprecatedString> lookup_database_names()
|
|||
static constexpr auto database_extension = ".db"sv;
|
||||
|
||||
auto database_path = DeprecatedString::formatted("{}/sql", Core::StandardPaths::data_directory());
|
||||
if (!Core::File::exists(database_path))
|
||||
if (!Core::DeprecatedFile::exists(database_path))
|
||||
return {};
|
||||
|
||||
Core::DirIterator iterator(move(database_path), Core::DirIterator::SkipParentAndBaseDir);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue