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

Method alpha

tests/testvalidator.cpp:324–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322 // ***** Endpoint for ValidatorAlpha ******
323 C_ATTR(alpha, :Local :AutoArgs)
324 void alpha(Context *c)
325 {
326 Validator v({new ValidatorAlpha(u"alpha_field"_s, false, m_validatorMessages)});
327 checkResponse(c, v.validate(c));
328 }
329
330 // **** Endpoint for ValidatorAlpha only ASCII *****
331 C_ATTR(alphaAscii, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected