commands/settle#

Functions#

settle()#

settle(before, view, changes, checked): View | Problem

Defined in: commands/settle.ts:166

Settle each manifest changes names: cut its @context to the prefixes it declares itself and its statements use (covering states nothing, so the context holds for the covered manifest too), cover its segment lines (each new segment’s ID the next of changes.ids), complete it, order it, make every groupstamp off a group member an ordinary timestamp and, with checked, refuse its first schema or invariant problem, at [<block id>, "manifest", …]; then fit its block’s places to it (keptPlaces, the block’s manifest in before telling which card a stale key named). A block the command removed is passed over.

Parameters#

before#

View

view#

View

changes#

ChangeSet

checked#

boolean

Returns#

View | Problem


withSegmentLinesCovered()#

withSegmentLinesCovered(value, mint): unknown

Defined in: commands/settle.ts:85

value, a manifest an edit leaves, with every segment line of known length that holds no segment given one segment from 0 covering its whole length, of its unit and number type, unlocked as every segment is; its id the one mint gives for its unit’s timeline class, segments in the order of the lines, depth first. A segment line of unknown length is left as it is: nothing fixes where its segments end. value itself when no line needs a segment. Every edited value goes through this before the schema checks it; reading a manifest from a file never does, so a file holding a segment line without segments is refused.

Parameters#

value#

unknown

mint#

Mint

Returns#

unknown