Reach.Source.Suppression (Reach v2.8.1)

Copy Markdown View Source

Parses source suppression directives and their justifications.

Summary

Types

summary()

@type summary() :: %{total: non_neg_integer(), reasonless: non_neg_integer()}

Functions

parse_file(file)

@spec parse_file(Path.t()) :: [Reach.Source.Suppression.Directive.t()]

parse_source(source, file)

@spec parse_source(String.t(), Path.t()) :: [Reach.Source.Suppression.Directive.t()]

project_summary(project, path \\ nil)

@spec project_summary(Reach.Project.t(), String.t() | nil) :: summary()