mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +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:
committed by
Linus Groh
parent
14951b92ca
commit
d43a7eae54
@@ -10,8 +10,8 @@
|
||||
#include <AK/NumberFormat.h>
|
||||
#include <AK/QuickSort.h>
|
||||
#include <AK/StringBuilder.h>
|
||||
#include <LibCore/DeprecatedFile.h>
|
||||
#include <LibCore/DirIterator.h>
|
||||
#include <LibCore/File.h>
|
||||
#include <LibCore/StandardPaths.h>
|
||||
#include <LibGUI/AbstractView.h>
|
||||
#include <LibGUI/FileIconProvider.h>
|
||||
@@ -61,7 +61,7 @@ bool FileSystemModel::Node::fetch_data(DeprecatedString const& full_path, bool i
|
||||
mtime = st.st_mtime;
|
||||
|
||||
if (S_ISLNK(mode)) {
|
||||
auto sym_link_target_or_error = Core::File::read_link(full_path);
|
||||
auto sym_link_target_or_error = Core::DeprecatedFile::read_link(full_path);
|
||||
if (sym_link_target_or_error.is_error())
|
||||
perror("readlink");
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user