summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore/DeprecatedFile.cpp
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2023-05-07 21:20:28 +0200
committerAndreas Kling <kling@serenityos.org>2023-05-13 07:53:13 +0200
commit960822ef7447eda9810ffa75b72d02a000ea5a4a (patch)
tree08f816cd1df62fc4fcafa3dbe96acf753e6d3fce /Userland/Libraries/LibCore/DeprecatedFile.cpp
parentbc2a517ade75145eac113c51acecb590a9de2a8c (diff)
downloadserenity-960822ef7447eda9810ffa75b72d02a000ea5a4a.zip
LibCore: Remove unused API from DeprecatedFile
It looks like this migration it taking a while, so let's make sure noone accidentally introduces new usages of this currently-unused API.
Diffstat (limited to 'Userland/Libraries/LibCore/DeprecatedFile.cpp')
-rw-r--r--Userland/Libraries/LibCore/DeprecatedFile.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/Userland/Libraries/LibCore/DeprecatedFile.cpp b/Userland/Libraries/LibCore/DeprecatedFile.cpp
index f4e18665d9..61853b6a28 100644
--- a/Userland/Libraries/LibCore/DeprecatedFile.cpp
+++ b/Userland/Libraries/LibCore/DeprecatedFile.cpp
@@ -143,11 +143,6 @@ bool DeprecatedFile::is_link() const
return S_ISLNK(stat.st_mode);
}
-bool DeprecatedFile::looks_like_shared_library() const
-{
- return m_filename.ends_with(".so"sv) || m_filename.contains(".so."sv);
-}
-
DeprecatedString DeprecatedFile::real_path_for(DeprecatedString const& filename)
{
if (filename.is_null())