MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / trim_copy

Function trim_copy

dependencies/httplib/httplib.h:2136–2139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2134}
2135
2136inline std::string trim_copy(const std::string &s) {
2137 auto r = trim(s.data(), s.data() + s.size(), 0, s.size());
2138 return s.substr(r.first, r.second - r.first);
2139}
2140
2141inline void split(const char *b, const char *e, char d,
2142 std::function<void(const char *, const char *)> fn) {

Callers 1

parseMethod · 0.85

Calls 3

trimFunction · 0.85
dataMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected