Skip to main content

merge_two_layers

Function merge_two_layers 

pub fn merge_two_layers(
    first: &ConfigLayer,
    second: &ConfigLayer,
) -> BTreeMap<ConfigPath, ConfigValue>
Expand description

Merges two layers using shallow layer semantics.

Layers are applied in ascending priority order. If priorities match, the second layer wins for duplicate paths.