Expand description
Shared Tera engine + context builders.
Two contexts:
config_context— exposes onlyyui.*and theenv(name=…)function. Used while parsingconfig*.toml(vars aren’t fully resolved yet).template_context—yui.*+vars.*+env(…). Used to render*.teradotfiles after the merged config is known.
Structs§
Functions§
- config_
context - eval_
truthy - Evaluate a Tera expression as a truthy/falsy boolean. Accepts either a
bare expression (
yui.os == 'linux') or a pre-wrapped one ({{ yui.os == 'linux' }}); used wherever the user writes awhencondition (mount entry, render rule, marker link, file-header). - template_
context