diff options
author | Tim Schumacher <timschumi@gmx.de> | 2023-02-08 21:08:01 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-02-13 00:50:07 +0000 |
commit | d43a7eae545cd699f301471bd0f82399174339c1 (patch) | |
tree | c0a55f768f845041c3aebed3f126d462155a799f /Userland/Utilities/watch.cpp | |
parent | 14951b92ca6160664ccb68c5e1b2d40133763e5f (diff) | |
download | serenity-d43a7eae545cd699f301471bd0f82399174339c1.zip |
LibCore: Rename `File` to `DeprecatedFile`
As usual, this removes many unused includes and moves used includes
further down the chain.
Diffstat (limited to 'Userland/Utilities/watch.cpp')
-rw-r--r-- | Userland/Utilities/watch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Utilities/watch.cpp b/Userland/Utilities/watch.cpp index 9adfbe68c0..b0f3051020 100644 --- a/Userland/Utilities/watch.cpp +++ b/Userland/Utilities/watch.cpp @@ -10,7 +10,7 @@ #include <AK/Time.h> #include <AK/Vector.h> #include <LibCore/ArgsParser.h> -#include <LibCore/File.h> +#include <LibCore/DeprecatedFile.h> #include <LibCore/FileWatcher.h> #include <LibCore/System.h> #include <LibMain/Main.h> @@ -163,7 +163,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) auto file_watcher = Core::BlockingFileWatcher(); for (auto const& file : files_to_watch) { - if (!Core::File::exists(file)) { + if (!Core::DeprecatedFile::exists(file)) { warnln("Cannot watch '{}', it does not exist.", file); return 1; } |