Skip to main content

Module snapshot_diff

Module snapshot_diff 

Source
Expand description

Wire payloads of the snapshots diff verbs.

Modeled here so the CLI emits and the driver parses one definition. The name-bearing fields carry the same serde-transparent newtypes the rest of core uses, so the serialized form is unchanged and a consumer stops re-validating identifiers it round-trips: headers through RelativePath, wire-constant macro names through MacroName. fun_arity and type_arity travel through FunArity and TypeArity’s Display form (serde_util::display_from_str), so the wire still spells them f/2.

Structs§

CrossSeriesDiffPayload
Per-project diffs between the pins of two series, each oriented from_series -> to_series (see DiffPayload for the per-project added/removed orientation).
DiffPayload
API delta between two tags of one project, oriented from -> to: *_added are present at to and absent at from; *_removed are present at from and absent at to.
QualifiedFunArity
A function or callback named module:fun/arity.
QualifiedRecord
A record declared in a header.
QualifiedTypeArity
A type named module:type/arity.

Enums§

VersionedMachineVersionChange
A versioned-machine version that was added, removed, or moved.
WireConstantChange
A wire-constant macro that was added, removed, or moved.