MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / stringListToString

Function stringListToString

plugins/http/macro-action-http.cpp:200–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200static std::string stringListToString(const StringList &list)
201{
202 if (list.empty()) {
203 return "[]";
204 }
205 std::string result = "[";
206 for (const auto &string : list) {
207 result += std::string(string) + ", ";
208 }
209 result.pop_back();
210 result.pop_back();
211 return result + "]";
212}
213
214void MacroActionHttp::LogAction() const
215{

Callers 1

LogActionMethod · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected