diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-05-04 23:23:36 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-05-04 23:23:36 +0200 |
commit | 61f8c666fea0ccd6c2637be4d1bd6aa875b65926 (patch) | |
tree | 362405a8f64164ebaa9291c807a4f41799411c7c /include/Utils.hpp | |
parent | 28be9d1c6fde9983c61ab76409c485d2dc14c823 (diff) |
Diffstat (limited to 'include/Utils.hpp')
-rw-r--r-- | include/Utils.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Utils.hpp b/include/Utils.hpp index 1415209..38088be 100644 --- a/include/Utils.hpp +++ b/include/Utils.hpp @@ -15,6 +15,7 @@ namespace gsr { void string_split_char(std::string_view str, char delimiter, StringSplitCallback callback_func); bool starts_with(std::string_view str, const char *substr); + bool ends_with(std::string_view str, const char *substr); std::string get_home_dir(); std::string get_config_dir(); |