aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/Path.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/fs/Path.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fs/Path.cxx b/src/fs/Path.cxx
index 5a21b698f..691284313 100644
--- a/src/fs/Path.cxx
+++ b/src/fs/Path.cxx
@@ -20,9 +20,16 @@
#include "config.h"
#include "Path.hxx"
#include "Charset.hxx"
+#include "util/UriUtil.hxx"
std::string
Path::ToUTF8() const
{
return ::PathToUTF8(c_str());
}
+
+const char *
+Path::GetSuffix() const
+{
+ return uri_get_suffix(c_str());
+}