ArchAstro.Types.SolutionUpgradeResult (archastro v0.2.0)

Copy Markdown

The outcome of a solution upgrade operation, including the computed diff and conflict status.

Summary

Types

t()

@type t() :: %ArchAstro.Types.SolutionUpgradeResult{
  changes: [ArchAstro.Types.SolutionDiffEntry.t()],
  code: String.t() | ArchAstro.Unset.t(),
  dry_run: boolean(),
  existing_solution_version: String.t() | ArchAstro.Unset.t(),
  incoming_solution_version: String.t() | ArchAstro.Unset.t(),
  message: String.t() | ArchAstro.Unset.t(),
  review_fingerprint: String.t() | ArchAstro.Unset.t(),
  status: String.t(),
  summary: ArchAstro.Types.SolutionDiffSummary.t(),
  version_change: String.t()
}

Functions

from_map(data)

@spec from_map(ArchAstro.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.JSON.object()