View Source Codeowners.Rule (Codeowners v0.1.4)

Contains types and functions related to individual CODEOWNERS rules.

Summary

Functions

Compile a Regex for the given pattern string.

Types

@type t() :: %Codeowners.Rule{
  owners: [String.t()],
  pattern: String.t(),
  regex: Regex.t()
}

Functions

@spec regex(String.t()) :: Regex.t()

Compile a Regex for the given pattern string.