Documentation ¶
Index ¶
Constants ¶
View Source
const ( FileOwnerComment = "file/owner" FileDisabledCheckComment = "file/disable" FileSnoozeCheckComment = "file/snooze" RuleOwnerComment = "rule/owner" )
Variables ¶
View Source
var ErrFileIsIgnored = errors.New("file was ignored")
Functions ¶
This section is empty.
Types ¶
type ChangeType ¶ added in v0.40.1
type ChangeType int
const ( Unknown ChangeType = iota Noop Added Modified Removed )
func (*ChangeType) MarshalJSON ¶ added in v0.40.1
func (c *ChangeType) MarshalJSON() ([]byte, error)
func (ChangeType) String ¶ added in v0.40.1
func (c ChangeType) String() string
type GitBlameFinder ¶ added in v0.40.1
type GitBlameFinder struct {
// contains filtered or unexported fields
}
func NewGitBlameFinder ¶ added in v0.40.1
func NewGitBlameFinder( gitCmd git.CommandRunner, include []*regexp.Regexp, baseBranch string, maxCommits int, relaxed []*regexp.Regexp, ) GitBlameFinder
func (GitBlameFinder) Find ¶ added in v0.40.1
func (f GitBlameFinder) Find() (entries []Entry, err error)
type GitBranchFinder ¶ added in v0.15.0
type GitBranchFinder struct {
// contains filtered or unexported fields
}
func NewGitBranchFinder ¶ added in v0.15.0
func NewGitBranchFinder( gitCmd git.CommandRunner, include []*regexp.Regexp, baseBranch string, maxCommits int, relaxed []*regexp.Regexp, ) GitBranchFinder
func (GitBranchFinder) Find ¶ added in v0.15.0
func (f GitBranchFinder) Find() (entries []Entry, err error)
type GlobFinder ¶ added in v0.15.0
type GlobFinder struct {
// contains filtered or unexported fields
}
func NewGlobFinder ¶ added in v0.15.0
func NewGlobFinder(patterns []string, relaxed []*regexp.Regexp) GlobFinder
func (GlobFinder) Find ¶ added in v0.15.0
func (f GlobFinder) Find() (entries []Entry, err error)
type RuleFinder ¶ added in v0.15.0
Click to show internal directories.
Click to hide internal directories.