Imp.Playbook.Operation.Merge (Imp v0.5.0)

Copy Markdown View Source

Replaces two or more entries and tombstones every source entry.

Summary

Types

t()

@type t() :: %Imp.Playbook.Operation.Merge{
  content: String.t(),
  expected_revisions: %{optional(String.t()) => pos_integer()},
  id: String.t() | nil,
  ids: [String.t()],
  provenance: Imp.Playbook.Provenance.t() | term(),
  section: String.t(),
  status: Imp.Playbook.Entry.status()
}

Functions

new(ids, content, opts \\ [])

@spec new([String.t()], String.t(), keyword()) :: t()