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

Method digits

tests/testvalidator.cpp:562–566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560 // ***** Endpoint for ValidatorDigits without exact length ******
561 C_ATTR(digits, :Local :AutoArgs)
562 void digits(Context *c)
563 {
564 Validator v({new ValidatorDigits(u"field"_s, -1, m_validatorMessages)});
565 checkResponse(c, v.validate(c));
566 }
567
568 // ***** Endpoint for ValidatorDigits with exact length ******
569 C_ATTR(digitsLength, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected