Documentation
¶
Overview ¶
Package consolidateguard checks that consolidation's output holds only what recovery wrote, and loses nothing unrecorded: every entry and term in it has a source among the recovered capabilities, word for word, with no anchor none of them had, and every recovered entry, anchor and term is in it or named in the record of what consolidation did. Slugs stay unique in the map and headings within each file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Guard ¶
func Guard(inputs []capabilitytext.Capability, out consolidating.Output, rec consolidating.Record) []consolidating.Refusal
Guard checks out, consolidation's output, against inputs, the capabilities as recovered, and rec, the record of what consolidation did, in both directions, and returns a refusal naming the entry for every violation; none when the output holds.
Types ¶
This section is empty.