diff options
Diffstat (limited to 'coding/file_name_utils.hpp')
-rw-r--r-- | coding/file_name_utils.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/coding/file_name_utils.hpp b/coding/file_name_utils.hpp index 6ce102f7d2..f45f9fcb91 100644 --- a/coding/file_name_utils.hpp +++ b/coding/file_name_utils.hpp @@ -7,6 +7,8 @@ namespace my { /// Remove extension from file name. void GetNameWithoutExt(string & name); + /// @return File extension with the dot or empty string if no extension found. + string GetFileExtension(string const & name); /// Get file name from full path. void GetNameFromFullPath(string & name); |