Skip to main content

Module installer

Module installer 

Source
Expand description

Instance installation: project the embedded payload into a target.

The chezmoi vocabulary applies: the embedded payload and profile are the source state, the computed projection is the target state, the repository on disk is the destination state, and the manifest — written last — is the persistent entry state. The whole target state is computed before a byte lands; a non-empty target previews by default; every destination is guarded; and any failure mid-apply rolls the target back. What the payload contains is embedded‘s and the profiles’ business.

Structs§

InitOptions
What an installation was asked to do.
InitOutcome
What an installation did.

Functions§

init
Install or reinstall an instance.