Skip to main content

Module selection

Module selection 

Source
Expand description

V01 — what pack create and ctx_pack create pack: a selection of layers and facts, and a preview that shows exactly that without writing.

One build serves both: the preview renders the package the create would store, so the two cannot drift. Facts merged from a received package go in only when that package grants redistribution (V02); private session text never goes in (the session layer carries the journal only, and the admission of every install refuses what the policy withholds).

Structs§

PackPlan
The package a create would store, plus what it left out.
PackRequest
Everything about the package besides its content.
PackSelection
The caller’s choice. Empty lists mean “no restriction”; facts pass when they match every category/key restriction given, or are named in facts.
Withheld
A fact the selection left out for a reason the caller must see.

Functions§

plan
Build the selected package in memory. Nothing is written.