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:
Max Kellermann
2022-07-14 15:56:18 +02:00
parent 594b97feb1
commit 254ee00c37
7 changed files with 9 additions and 9 deletions

View File

@@ -34,7 +34,7 @@ playlist_open_path_suffix(Path path, Mutex &mutex)
try {
assert(!path.IsNull());
const auto *suffix = path.GetSuffix();
const auto *suffix = path.GetExtension();
if (suffix == nullptr)
return nullptr;