Skip to main content

eval_config_contents_with_kind

Function eval_config_contents_with_kind 

Source
pub fn eval_config_contents_with_kind(
    config_path: PathBuf,
    engine_state: &mut EngineState,
    stack: &mut Stack,
    strict_mode: bool,
    kind: StartupFileKind,
)
Expand description

Evaluate a startup configuration file, using kind only for path-level I/O error framing (missing/unreadable file). Parse/compile/shell errors use the standard reporters via eval_source.

Dangling symlinks report exists() == false and are skipped here; callers of default config paths warn separately. Never remove or rewrite the path.