summaryrefslogtreecommitdiff
path: root/Userland/Utilities/watch.cpp
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-02-08 21:08:01 +0100
committerLinus Groh <mail@linusgroh.de>2023-02-13 00:50:07 +0000
commitd43a7eae545cd699f301471bd0f82399174339c1 (patch)
treec0a55f768f845041c3aebed3f126d462155a799f /Userland/Utilities/watch.cpp
parent14951b92ca6160664ccb68c5e1b2d40133763e5f (diff)
downloadserenity-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.cpp4
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;
}