View Source Codeowners (Codeowners v0.1.0)

A pure Elixir CODEOWNERS parser.

Summary

Functions

Build a Codeowners struct from string.

Load a Codeowners file from the given path.

Given a Codeowners struct and Elixir module, return the matching rule, or empty rule.

Given a Codeowners struct and path, return the matching rule, or empty rule.

Functions

Link to this function

build(file_content \\ "")

View Source

Build a Codeowners struct from string.

Load a Codeowners file from the given path.

Link to this function

rule_for_module(codeowners, module)

View Source

Given a Codeowners struct and Elixir module, return the matching rule, or empty rule.

Link to this function

rule_for_path(codeowners, path)

View Source

Given a Codeowners struct and path, return the matching rule, or empty rule.