Skip to main content

Module plan

Module plan 

Source
Expand description

Building a weavatrix.edit-plan.v1 envelope.

Every planner emits the same shape, so it is built in one place. The alternative — each engine assembling its own JSON — is how one of them ends up omitting a hash or spelling a field differently, and the applier would refuse it long after the mistake was made.

Structs§

PlanBuilder
Accumulates files and their edits into one envelope.

Functions§

sha256_of
The hash the applier will re-check before writing.