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

Method digitsLength

tests/testvalidator.cpp:570–574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568 // ***** Endpoint for ValidatorDigits with exact length ******
569 C_ATTR(digitsLength, :Local :AutoArgs)
570 void digitsLength(Context *c)
571 {
572 Validator v({new ValidatorDigits(u"field"_s, 10, m_validatorMessages)});
573 checkResponse(c, v.validate(c));
574 }
575
576 // ***** Endpoint for ValidatorDigitsBetween ******
577 C_ATTR(digitsBetween, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected