Documentation
¶
Overview ¶
Package consolidatedmap puts a stored consolidation into the map init writes: its consolidated capabilities, terms and product rules take the place of the recovered ones, the sessions and entries of capabilities merged away are kept, and everything consolidation left out is listed for the PR body with its reason. A consolidation that no longer matches the recovered rows is never used.
Index ¶
Constants ¶
const Stale = "" /* 139-byte string literal not displayed */
Stale is the note for a stored consolidation that no longer matches the recovered rows, which a write then ignores.
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
func Apply(st *initrecord.Store, m initbranch.Map) (initbranch.Map, string, error)
Apply returns m with the stored consolidation in it, when one is stored and still current, and a note, empty unless a stored one is stale (then m comes back as it was). Capabilities merged away drop out of m, their entries dropped in recovery going to the one they merged into; the sessions of consolidation are added to m's.
Types ¶
This section is empty.