Change Variable names and all to snake case

This commit is contained in:
Pablu23
2024-11-13 16:01:17 +01:00
parent 1797b3c0ef
commit a3a5280f17
10 changed files with 91 additions and 93 deletions

View File

@@ -10,16 +10,16 @@ Path::Path(std::string path) {
m_query = path;
}
std::optional<std::string> Path::Get(std::string name) {
std::optional<std::string> Path::get(std::string name) {
if (m_variables.contains(name))
return m_variables.at(name);
return std::nullopt;
}
std::string Path::Base() { return m_base; }
std::string Path::Query() { return m_query; }
std::string Path::base() { return m_base; }
std::string Path::query() { return m_query; }
void Path::Match(std::string pattern) {
void Path::match(std::string pattern) {
int pos = 0;
std::string path = m_base;
while (pos != -1) {