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

Method different

tests/testvalidator.cpp:554–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

552 // ***** Endpoint for ValidatorDifferent ******
553 C_ATTR(different, :Local :AutoArgs)
554 void different(Context *c)
555 {
556 Validator v({new ValidatorDifferent(u"field"_s, u"other"_s, nullptr, m_validatorMessages)});
557 checkResponse(c, v.validate(c));
558 }
559
560 // ***** Endpoint for ValidatorDigits without exact length ******
561 C_ATTR(digits, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected