diff options
Diffstat (limited to 'Userland/Libraries/LibManual/SectionNode.cpp')
-rw-r--r-- | Userland/Libraries/LibManual/SectionNode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibManual/SectionNode.cpp b/Userland/Libraries/LibManual/SectionNode.cpp index 1dc0e447ff..a4077a134d 100644 --- a/Userland/Libraries/LibManual/SectionNode.cpp +++ b/Userland/Libraries/LibManual/SectionNode.cpp @@ -10,8 +10,8 @@ #include "SubsectionNode.h" #include <AK/LexicalPath.h> #include <AK/QuickSort.h> +#include <LibCore/DeprecatedFile.h> #include <LibCore/DirIterator.h> -#include <LibCore/File.h> namespace Manual { @@ -54,7 +54,7 @@ ErrorOr<void> SectionNode::reify_if_needed() const while (dir_iter.has_next()) { LexicalPath lexical_path(dir_iter.next_path()); if (lexical_path.extension() != "md") { - if (Core::File::is_directory(LexicalPath::absolute_path(own_path.to_deprecated_string(), lexical_path.string()))) { + if (Core::DeprecatedFile::is_directory(LexicalPath::absolute_path(own_path.to_deprecated_string(), lexical_path.string()))) { dbgln("Found subsection {}", lexical_path); children.append({ .node = TRY(try_make_ref_counted<SubsectionNode>(*this, lexical_path.title())), .name_for_sorting = TRY(String::from_utf8(lexical_path.title())) }); |