Reach.Check.AnalysisScope (Reach v2.8.2)

Copy Markdown View Source

Describes the source set used by a Reach check.

The file count is informational. Scope compatibility is based on the source origin, Mix environment, and configured roots so normal file additions and removals do not invalidate a baseline.

Summary

Types

t()

@type t() :: %Reach.Check.AnalysisScope{
  file_count: non_neg_integer(),
  mix_env: String.t() | nil,
  source: String.t(),
  source_roots: [Path.t()]
}

Functions

compatible?(left, right)

describe(scope)

from_map(scope)

new(attrs)