fs/Path: rename GetSuffix() to GetExtension()
The "extension" is the name after the dot, but the "suffix" is the string including the dot.
This commit is contained in:
@@ -37,7 +37,7 @@ Path::ToUTF8Throw() const
|
||||
}
|
||||
|
||||
Path::const_pointer
|
||||
Path::GetSuffix() const noexcept
|
||||
Path::GetExtension() const noexcept
|
||||
{
|
||||
const auto base = GetBase().c_str();
|
||||
const auto *dot = StringFindLast(base, '.');
|
||||
|
||||
Reference in New Issue
Block a user