diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2023-05-07 21:20:28 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-05-13 07:53:13 +0200 |
commit | 960822ef7447eda9810ffa75b72d02a000ea5a4a (patch) | |
tree | 08f816cd1df62fc4fcafa3dbe96acf753e6d3fce /Userland/Libraries/LibCore/DeprecatedFile.cpp | |
parent | bc2a517ade75145eac113c51acecb590a9de2a8c (diff) | |
download | serenity-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.cpp | 5 |
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()) |