{"modulePath":"github.com/mlarraz/codeowners-validator","version":"v0.9.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package codeowners\n\n## Functions\n\n```go\nfunc FindFile(repoPath string) (string, error)\n```\nFindFile returns the path of the CODEOWNERS file in the root, docs/, or .github/ directory of the repository. see: [https://help.github.com/articles/about-code-owners/#codeowners-file-location](https://help.github.com/articles/about-code-owners/#codeowners-file-location)\n\n## Types\n\n```go\ntype Entry struct {\n\tLineNo  uint64\n\tPattern string\n\tOwners  []string\n}\n```\nEntry contains owners for a given pattern\n\n```go\nfunc NewFromPath(repoPath string) ([]Entry, error)\n```\nNewFromPath returns entries from codeowners\n\n```go\nfunc ParseCodeowners(r io.Reader) []Entry\n```\n\n```go\nfunc (e Entry) String() string\n```\n\n","path":"github.com/mlarraz/codeowners-validator/pkg/codeowners","name":"codeowners","synopsis":"","isRedistributable":true}
