mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:07:35 +00:00
Everywhere: Use LibFileSystem
where trivial
This commit is contained in:
parent
edab0cbf41
commit
1d24f394c6
115 changed files with 275 additions and 228 deletions
|
@ -13,6 +13,7 @@
|
|||
#include <LibCore/DeprecatedFile.h>
|
||||
#include <LibCore/MappedFile.h>
|
||||
#include <LibDebug/DebugInfo.h>
|
||||
#include <LibFileSystem/FileSystem.h>
|
||||
#include <LibSymbolication/Symbolication.h>
|
||||
|
||||
namespace Symbolication {
|
||||
|
@ -65,7 +66,7 @@ Optional<Symbol> symbolicate(DeprecatedString const& path, FlatPtr address, Incl
|
|||
bool found = false;
|
||||
for (auto& search_path : search_paths) {
|
||||
full_path = LexicalPath::join(search_path, path).string();
|
||||
if (Core::DeprecatedFile::exists(full_path)) {
|
||||
if (FileSystem::exists(full_path)) {
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue