Documentation
¶
Index ¶
Constants ¶
View Source
const CODEOWNERS_FILE = "CODEOWNERS"
Variables ¶
View Source
var ( ErrNotGitRepo = errors.New("not in a git repo") ErrNoCodeOwners = errors.New("no codeowners file found") )
Functions ¶
This section is empty.
Types ¶
type CodeOwners ¶
type CodeOwners []Matcher
type ErrInvalidLine ¶
func (ErrInvalidLine) Error ¶
func (e ErrInvalidLine) Error() string
type ErrPatternParse ¶
func (ErrPatternParse) Error ¶
func (e ErrPatternParse) Error() string
type Owner ¶
type Owner string
const NOT_IN_REPO Owner = "tarnished"
const NO_OWNER Owner = "maidenless"
type ParsedCodeOwners ¶
type ParsedCodeOwners struct { CodeOwners CodeOwners Warnings []error }
type RepoInfo ¶
func GetRepoInformation ¶
func (RepoInfo) ParseCodeOwners ¶
func (ri RepoInfo) ParseCodeOwners() (ParsedCodeOwners, error)
Click to show internal directories.
Click to hide internal directories.