MCPcopy Index your code
hub / github.com/conventionalcommit/commitlint / formMaxLenDesc

Function formMaxLenDesc

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

Source from the content-addressed store, hash-verified

30}
31
32func formMaxLenDesc(typ string, actualLen, expectedLen int) string {
33 return fmt.Sprintf("%s length is %d, should have less than %d chars", typ, actualLen, expectedLen)
34}
35
36func formMaxLineLenDesc(typ string, expectedLen int) string {
37 return fmt.Sprintf("each %s line should have less than %d chars", typ, expectedLen)

Callers 1

validateMaxLenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected