| 47 | } |
| 48 | |
| 49 | APPROVAL_TESTS_NO_DISCARD |
| 50 | bool StringUtils::endsWith(std::string value, std::string ending) |
| 51 | { |
| 52 | if (value.size() < ending.size()) |
| 53 | { |
| 54 | return false; |
| 55 | } |
| 56 | return std::equal(ending.rbegin(), ending.rend(), value.rbegin()); |
| 57 | } |
| 58 | |
| 59 | APPROVAL_TESTS_NO_DISCARD |
| 60 | std::string StringUtils::leftTrim(std::string s) |
nothing calls this directly
no outgoing calls
no test coverage detected