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

Method present

tests/testvalidator.cpp:929–933  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

927 // ***** Endpoint for ValidatorPresent ******
928 C_ATTR(present, :Local :AutoArgs)
929 void present(Context *c)
930 {
931 Validator v({new ValidatorPresent(u"field"_s, m_validatorMessages)});
932 checkResponse(c, v.validate(c));
933 }
934
935 // ***** Endpoint for ValidatorPwQuality *****
936#ifdef CUTELYST_VALIDATOR_WITH_PWQUALITY

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected