Documentation
¶
Overview ¶
Package selection resolves a user's raw component picks against the package manifest: closes the set under Requires, rejects Conflicts, validates against the chosen Base via ValidForBases, and picks a Base when the user did not specify one. Output is a Selection ready to drive render.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Resolve ¶
Resolve takes the package manifest, the user's chosen base name (may be ""), and the user's raw selected component names. Returns a Selection whose Components is the closure under Requires, with Conflicts and ValidForBases validated.
If baseName is "", the package's default base is chosen; if no default is declared and there is exactly one base, that one is used; otherwise an error is returned.
Types ¶
This section is empty.