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

Method EndsWithMatcher

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

Source from the content-addressed store, hash-verified

7876}
7877
7878EndsWithMatcher::EndsWithMatcher(CasedString const &comparator) : StringMatcherBase("ends with", comparator) {
7879}
7880
7881bool EndsWithMatcher::match(std::string const &source) const {
7882 return endsWith(m_comparator.adjustString(source), m_comparator.m_str);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected