MCPcopy Create free account
hub / github.com/cutelyst/cutelyst / same

Method same

tests/testvalidator.cpp:1120–1124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1118 // ***** Endpoint for ValidatorSame ******
1119 C_ATTR(same, :Local :AutoArgs)
1120 void same(Context *c)
1121 {
1122 Validator v({new ValidatorSame(u"field"_s, u"other"_s, nullptr, m_validatorMessages)});
1123 checkResponse(c, v.validate(c));
1124 }
1125
1126 // ***** Endpoint for ValidatorSize ******
1127 C_ATTR(size, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected