| 16 | { |
| 17 | namespace |
| 18 | { |
| 19 | std::string LowerAscii(std::string s) |
| 20 | { |
| 21 | std::transform(s.begin(), s.end(), s.begin(), [](unsigned char c) { return static_cast<char>(std::tolower(c)); }); |
| 22 | return s; |
| 23 | } |
| 24 | |
| 25 | // Read a top-level string field from <modDir>/mod.json, or "" if absent/unreadable. |
no outgoing calls
no test coverage detected