Codeowners

A pure Elixir parser for the Github CODEOWNERS specification.

Installation

The package can be installed by adding codeowners to your list of dependencies in mix.exs:

def deps do
[
{:codeowners, "~> 0.1.4"}
]
end

Basic usage

codeowners = Codeowners.load(".github/CODEOWNERS")
matching_rule = Codeowners.rule_for_path(codeowners, "lib/my_module.ex")

License

MIT License - see the LICENSE file.