FileSystem: Purge GetDisplayNameFromPath()

Redundant function.
This commit is contained in:
Stenzek authored and Connor McLaughlin committed 2023-12-24 14:03:14 +10:00
1 parent 9967d5ca9e
commit d73d698fd5
6 files changed
+13 -24

No files matched your search

-5
View File
@@ -531,11 +531,6 @@ static std::string_view::size_type GetLastSeperatorPosition(const std::string_vi
return last_separator;
}
std::string FileSystem::GetDisplayNameFromPath(const std::string_view& path)
{
return std::string(Path::GetFileName(path));
}
std::string_view Path::GetDirectory(const std::string_view& path)
{
const std::string::size_type pos = GetLastSeperatorPosition(path, false);