MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / adjustString

Method adjustString

Bcore/src/main/cpp/Dobby/tests/catch.hpp:7835–7837  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7833 : m_caseSensitivity(caseSensitivity), m_str(adjustString(str)) {
7834}
7835std::string CasedString::adjustString(std::string const &str) const {
7836 return m_caseSensitivity == CaseSensitive::No ? toLower(str) : str;
7837}
7838std::string CasedString::caseSensitivitySuffix() const {
7839 return m_caseSensitivity == CaseSensitive::No ? " (case insensitive)" : std::string();
7840}

Callers 1

matchMethod · 0.80

Calls 1

toLowerFunction · 0.85

Tested by

no test coverage detected