MCPcopy Create free account
hub / github.com/conventionalcommit/commitlint / formMinLenMsg

Function formMinLenMsg

lint/rule/rule.go:29–31  ·  view source on GitHub ↗
(typ string, actualLen, expectedLen int)

Source from the content-addressed store, hash-verified

27}
28
29func formMinLenMsg(typ string, actualLen, expectedLen int) string {
30 return fmt.Sprintf("%s length is %d, should have at least %d chars", typ, actualLen, expectedLen)
31}
32
33func formMaxLenDesc(typ string, actualLen, expectedLen int) string {
34 return fmt.Sprintf("%s length is %d, should have less than %d chars", typ, actualLen, expectedLen)

Callers 1

validateMinLenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected