diff options
author | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2018-04-03 17:34:43 +0300 |
---|---|---|
committer | Roman Kuznetsov <r.kuznetsow@gmail.com> | 2018-04-06 15:59:42 +0300 |
commit | fd65179c8979a32cdcb98b2f5f9b5a95f5b01dd9 (patch) | |
tree | 01879ded42aa798ced39192da21eab6b7c823efb /coding/file_name_utils.hpp | |
parent | 5a53eed0629cc1dd995cacfe0e04d0fb642d7afe (diff) |
Bookmarks refactoring.
Diffstat (limited to 'coding/file_name_utils.hpp')
-rw-r--r-- | coding/file_name_utils.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/coding/file_name_utils.hpp b/coding/file_name_utils.hpp index 4bcb32f616..a7ccdd8ad1 100644 --- a/coding/file_name_utils.hpp +++ b/coding/file_name_utils.hpp @@ -16,6 +16,9 @@ namespace my /// Get file name from full path. void GetNameFromFullPath(string & name); + /// Get file name from full path without extension. + string GetNameFromFullPathWithoutExt(string const & path); + /// Returns all but last components of the path. After dropping the last /// component, all trailing slashes are removed, unless the result is a /// root directory. If the argument is a single component, returns ".". |