Documentation ¶
Overview ¶
Package issues provides filters for problems found in commit messages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
Filter identifies an issue with a commit. A filter returning a zero-valued Issue signals that it found no issue with the commit.
func OfBodyMaxLength ¶
OfBodyMaxLength checks that a commit's body's length doesn't exceed this max number of characters.
func OfBodyRegex ¶
OfBodyRegex tests a commit's body with the regex.
func OfSubjectMaxLength ¶
OfSubjectMaxLength checks that a commit's subject does not exceed this length.
func OfSubjectMinLength ¶
OfSubjectMinLength checks that a commit's subject's length is at least of length min.
func OfSubjectRegex ¶
OfSubjectRegex tests a commit's subject with the regex.
Click to show internal directories.
Click to hide internal directories.