package
1.20240719.1
Repository: https://github.com/blend/go-sdk.git
Documentation: pkg.go.dev

# Functions

MakeRepositoryAbsolute make a path absolute.
New creates a new copyright engine with a given set of config options.
ParseGoComments parses a files comments.
ParsePath parses a path line into a path and owners.
ParseSource parses a source from a given path.
Read reads a codeowners file.

# Constants

DefaultGithubTokenEnvVar standardizes an environment variable to read the github api token from.
DefaultGithubURL is the default github url.
DefaultPath is the default realized codeowners path.
OwnersFile is the per path owners file users can create.
OwnersFileHeader is the header that is prefixed to the generated owners file.
OwnersFileSourceComment is the owners file comment marking the beginning of a section for a given source.
OwnersFileSourceEndComment is the owners file comment marking the end of a section for a given source.
OwnersGoCommentPrefix is the prefix for owners hints within go files.

# Structs

Codeowners holds the engine that generates and validates codeowners files.
Config are the configuration options for the utility.
GithubClient is a client to make requests to github via the api.
Path is a path in the codeowners file.
Source is a set of ownership entries.

# Type aliases

File is a collection of codeowner sources.
Option mutates the Codeowners instance.