Versions in this module Expand all Collapse all v0 v0.7.4 Apr 21, 2026 Changes in this version + type AvoidShadowing struct + func NewAvoidShadowing() *AvoidShadowing + func (AvoidShadowing) Name() string + func (c *AvoidShadowing) Check(ctx context.Context, in Input) (output Output, err error) + type Checker interface + Check func(ctx context.Context, in Input) (Output, error) + Name func() string + type DuplicatedPattern struct + func NewDuplicatedPattern() *DuplicatedPattern + func (DuplicatedPattern) Name() string + func (d *DuplicatedPattern) Check(ctx context.Context, in Input) (Output, error) + type FileExist struct + func NewFileExist() *FileExist + func (*FileExist) Name() string + func (f *FileExist) Check(ctx context.Context, in Input) (Output, error) + type Input struct + CodeownersEntries []codeowners.Entry + RepoDir string + type Issue struct + LineNo *uint64 + Message string + Severity SeverityType + type NotOwnedFile struct + func NewNotOwnedFile(cfg NotOwnedFileConfig) *NotOwnedFile + func (NotOwnedFile) Name() string + func (c *NotOwnedFile) AppendToGitignoreFile(repoDir string, patterns []string) error + func (c *NotOwnedFile) Check(ctx context.Context, in Input) (output Output, err error) + func (c *NotOwnedFile) GitCheckStatus(repoDir string) ([]byte, error) + func (c *NotOwnedFile) GitListFiles(repoDir string) (string, error) + func (c *NotOwnedFile) GitRemoveIgnoredFiles(repoDir string) error + func (c *NotOwnedFile) GitResetCurrentBranch(repoDir string) error + func (c *NotOwnedFile) ListFormatFunc(es []string) string + type NotOwnedFileConfig struct + SkipPatterns []string + Subdirectories []string + TrustWorkspace bool + type Output struct + Issues []Issue + type OutputBuilder struct + func (bldr *OutputBuilder) Output() Output + func (bldr *OutputBuilder) ReportIssue(msg string, opts ...ReportIssueOpt) *OutputBuilder + type ReportIssueOpt func(*Issue) + func WithEntry(e codeowners.Entry) ReportIssueOpt + func WithSeverity(s SeverityType) ReportIssueOpt + type SeverityType int + const Error + const Warning + func (s *SeverityType) Unmarshal(in string) error + func (s SeverityType) String() string + type ValidOwner struct + func NewValidOwner(cfg ValidOwnerConfig, ghClient *github.Client, checkScopes bool) (*ValidOwner, error) + func (ValidOwner) Name() string + func (v *ValidOwner) Check(ctx context.Context, in Input) (Output, error) + func (v *ValidOwner) CheckSatisfied(ctx context.Context) error + type ValidOwnerConfig struct + AllowUnownedPatterns bool + IgnoredOwners []string + OwnersMustBeTeams bool + Repository string + type ValidSyntax struct + func NewValidSyntax() *ValidSyntax + func (ValidSyntax) Name() string + func (v *ValidSyntax) Check(ctx context.Context, in Input) (Output, error)