MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / lower_ascii

Function lower_ascii

app/server/multipart.cpp:10–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace {
9
10std::string lower_ascii(std::string value) {
11 for (char & ch : value) {
12 ch = static_cast<char>(std::tolower(static_cast<unsigned char>(ch)));
13 }
14 return value;
15}
16
17std::string trim(std::string value) {
18 auto is_space = [](unsigned char ch) { return std::isspace(ch) != 0; };

Callers 3

extract_header_paramFunction · 0.70
parse_partFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected