codeowners

package
v2.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoOwners = fmt.Errorf("no owners defined")
)

Functions

This section is empty.

Types

type Ruleset

type Ruleset struct {
	codeowners.Ruleset
	// contains filtered or unexported fields
}

func Load

func Load(paths []string, ignorePrefix string) (*Ruleset, error)

Load code owners from 'paths', ignoring

func (*Ruleset) Match

func (r *Ruleset) Match(relPath string) ([]string, error)

func (*Ruleset) WithExcludedOwners

func (r *Ruleset) WithExcludedOwners(excludedOwners []string) *Ruleset

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL