module Chef::Mixin::DeepMerge

Implements a deep merging algorithm for nested data structures.

This code was originally imported from deep_merge by Steve Midgley. deep_merge is available under the MIT license from trac.misuse.org/science/wiki/DeepMerge

Note that this is not considered a public interface. It is technically public and has been used and we cannot break the API, but continued external use is discouraged. We are unlikely to change the shape of the API and break anyone, but this code does not serve the purposes of cookbook authors and customers. It is intended only for the purposes of the internal use in the chef-client codebase. We do not accept pull requests to extend the functionality of this algorithm. Users who find this does nearly what they want, should copy and paste the algorithm and tune to their needs. We will not maintain any additional use cases.

“It is what it is, and if it isn’t what you want, you need to build that yourself”

@api private