Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsZeroMatching ¶
IsZeroMatching check if Matching struct equals zero
func MatchRangeCommitQuery ¶
func MatchRangeCommitQuery(query RangeCommitQuery) (*[]*Matching, error)
MatchRangeCommitQuery trigger regexp matching against a range message commits
Types ¶
type CommitQuery ¶
type CommitQuery struct { Path string ID string Matchers map[string]string Options map[string]bool }
CommitQuery to retrieves a commit and do checking
type Matching ¶
Matching represents an error when something goes wrong
func MatchCommitQuery ¶
func MatchCommitQuery(query CommitQuery) (*Matching, error)
MatchCommitQuery trigger regexp matching against a commit
func MatchMessageQuery ¶
func MatchMessageQuery(query MessageQuery) (*Matching, error)
MatchMessageQuery trigger regexp matching against a message
type MessageQuery ¶
MessageQuery to check only commit message
Click to show internal directories.
Click to hide internal directories.