Versions in this module Expand all Collapse all v0 v0.4.0 Mar 17, 2023 Changes in this version + type Codeowner struct + Owners []string + Pattern string + func NewCodeowner(pattern string, owners []string) (Codeowner, error) + func (c Codeowner) String() string + type Codeowners struct + Patterns []Codeowner + func FromFile(path string) (*Codeowners, error) + func FromFileWithFS(fsys fs.FS, path string) (*Codeowners, error) + func FromReader(r io.Reader, repoRoot string) (*Codeowners, error) + func NewCodeowners(path string) (*Codeowners, error) + func (c *Codeowners) Owners(path string) []string