owners

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OwnerSourceCodeowners   = "codeowners"
	OwnerSourceRepoFallback = "repo_fallback"
	OwnerSourceConflict     = "multi_repo_conflict"

	OwnershipStatusExplicit   = "explicit"
	OwnershipStatusInferred   = "inferred"
	OwnershipStatusUnresolved = "unresolved"
)

Variables

This section is empty.

Functions

func FallbackOwner added in v1.0.11

func FallbackOwner(repo, org string) string

func ResolveOwner

func ResolveOwner(root, repo, org, location string) string

ResolveOwner derives ownership from CODEOWNERS with deterministic fallback.

Types

type Resolution added in v1.0.11

type Resolution struct {
	Owner           string
	OwnerSource     string
	OwnershipStatus string
}

func Resolve added in v1.0.11

func Resolve(root, repo, org, location string) Resolution

Jump to

Keyboard shortcuts

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