Documentation ¶
Index ¶
Constants ¶
View Source
const OKToTestCommentRegexp = `(^|\n)\/ok-to-test(\r\n|\r|\n|$)`
Variables ¶
This section is empty.
Functions ¶
func MatchRegexp ¶
MatchRegexp Match a regexp to a string.
func UserInOwnerFile ¶
UserInOwnerFile Parse OWNERS and OWNERS_ALIASES files and return true if the sender is in there. Support OWNERS simple configs (approvers, reviewers) and filters. When filters are used, only match against the ".*" filter.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.