Reach.Check.Changed.DisplacedFact (Reach v2.8.1)

Copy Markdown View Source

A persistent evidence fact that moved instead of being resolved.

Summary

Types

family()

@type family() :: :dual_key_contract | :default_drift | :exact_clone

t()

@type t() :: %Reach.Check.Changed.DisplacedFact{
  confidence: :high | :medium,
  family: family(),
  fingerprint: String.t(),
  key: String.t() | nil,
  message: String.t(),
  new_locations: [map()],
  occurrences_after: pos_integer(),
  occurrences_before: pos_integer(),
  old_locations: [map()],
  status: :displaced,
  suggestion: String.t()
}

Functions

new(attrs)