databricks-cli/libs/config
Pieter Noordhuis 8e1156edbd
Function to merge two instances of `config.Value` (#938)
## Changes

Semantics for merging two instances of `config.Value`:
* Merging x with nil or nil with x always yields x
* Merging maps a and b means entries from map b take precedence
* Merging sequences a and b means concatenating them

These are the same semantics that we use today when calling into mergo
in `bundle/config`.

## Tests

Unit tests pass.
2023-11-03 19:15:47 +00:00
..
convert Add configuration normalization code (#915) 2023-10-25 11:56:42 +00:00
merge Function to merge two instances of `config.Value` (#938) 2023-11-03 19:15:47 +00:00
yamlloader Loading an empty file yields a nil (#906) 2023-10-24 11:24:43 +00:00
kind.go Library to convert config.Value to Go struct (#904) 2023-10-24 11:12:36 +00:00
location.go New YAML loader to support configuration location (#828) 2023-10-20 12:56:59 +00:00
location_test.go New YAML loader to support configuration location (#828) 2023-10-20 12:56:59 +00:00
value.go Library to convert config.Value to Go struct (#904) 2023-10-24 11:12:36 +00:00
value_test.go New YAML loader to support configuration location (#828) 2023-10-20 12:56:59 +00:00