Skip to main content

load_file

Function load_file 

Source
pub fn load_file(
    registry: &ConfigRegistry,
    path: &Path,
    structural_prefixes: &[&str],
) -> LoadOutcome
Expand description

Load a single TOML file, applying scalar leaves to registry and bucketing structural sub-tables. The path is recorded in every emitted message so the caller can surface path:reason-style diagnostics.