aboutsummaryrefslogtreecommitdiff
path: root/include/Utils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/Utils.hpp')
-rw-r--r--include/Utils.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Utils.hpp b/include/Utils.hpp
index 19700df..1415209 100644
--- a/include/Utils.hpp
+++ b/include/Utils.hpp
@@ -14,6 +14,7 @@ namespace gsr {
using StringSplitCallback = std::function<bool(std::string_view line)>;
void string_split_char(std::string_view str, char delimiter, StringSplitCallback callback_func);
+ bool starts_with(std::string_view str, const char *substr);
std::string get_home_dir();
std::string get_config_dir();