MCPcopy
hub / github.com/keploy/keploy / Merge

Function Merge

config/default.go:160–162  ·  view source on GitHub ↗
(srcStr, destStr string)

Source from the content-addressed store, hash-verified

158}
159
160func Merge(srcStr, destStr string) (string, error) {
161 return mergeStrings(srcStr, destStr, false, yaml.MergeOptions{})
162}
163
164// Reference: https://github.com/kubernetes-sigs/kustomize/blob/537c4fa5c2bf3292b273876f50c62ce1c81714d7/kyaml/yaml/merge2/merge2.go#L24
165// VisitKeysAsScalars is set to true to enable merging comments.

Callers 2

CreateConfigMethod · 0.92
NewFunction · 0.85

Calls 1

mergeStringsFunction · 0.85

Tested by

no test coverage detected