Skip to main content

Module profile

Module profile 

Source
Expand description

Installation profiles: what a target repository receives.

A profile declares the documentation root and the payload projection — which embedded files land managed and which land adopted, and where. The declarations are code so a profile referencing an asset the payload does not carry fails a test instead of an install. Copying bytes and recording hashes is the installer’s work.

Structs§

Profile
What one profile installs.
Projection
One payload projection: an embedded source and its instance destination.

Enums§

DocsRoot
Where an instance keeps the documents the gates read.
ProfileId
The two installable profiles.

Constants§

CANON_TEMPLATES
The template copies this repository keeps in its own documentation tree.

Functions§

resolve_destination
Substitute the profile’s documentation root into a destination template.