MCPcopy Create free account
hub / github.com/docling-project/docling-parse / to_lower

Function to_lower

src/parse/utils/string.h:73–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 }
72
73 std::string to_lower(std::string text)
74 {
75 // Convert the string to lowercase
76 std::transform(text.begin(), text.end(), text.begin(),
77 [](unsigned char c) { return std::tolower(c); });
78
79 return text;
80 }
81
82 std::string strip(std::string& line)
83 {

Callers 1

init_differencesMethod · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected