Skip to main content

Module preprocessing

Module preprocessing 

Source
Expand description

Preprocessing pipeline — transforms source files before handler dispatch.

Preprocessors expand files whose version-controlled source differs from the deployed artifact (templates, plists, encrypted secrets). The preprocessing phase runs before handler dispatch, producing virtual entries that downstream handlers (symlink, shell, path, install, homebrew) consume transparently.

See docs/proposals/preprocessing-pipeline.lex for the full design.

Re-exports§

pub use pipeline::PreprocessMode;

Modules§

baseline
Per-file baseline cache for the preprocessing pipeline.
conflict
Dodot conflict markers — used by reverse-merge to flag ambiguous edits.
divergence
Drift detection for preprocessor outputs (the 4-state matrix).
identity
Identity preprocessor — passes content through unchanged.
no_reverse
Per-file no_reverse opt-out for the template reverse-merge.
pipeline
Preprocessing pipeline — partitions, expands, and merges entries.
reverse_merge
Reverse-merge engine — propagates deployed-file edits back to the template source.
template
Template preprocessor — renders Jinja2-style templates via MiniJinja through burgertocow’s Tracker.
unarchive
Unarchive preprocessor — extracts tar.gz archives.

Structs§

ExpandedFile
A single file produced by a preprocessor’s expansion.
PreprocessorRegistry
Registry of available preprocessors.

Enums§

TransformType
The safety model for a preprocessor’s transformation.

Traits§

Preprocessor
The core preprocessor abstraction.

Functions§

default_registry
The default registry used on the normal execution path.