MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / getMergedValue

Function getMergedValue

out/cli.cjs:73255–73264  ·  view source on GitHub ↗
(target, source, prop, caseless)

Source from the content-addressed store, hash-verified

73253 }
73254);
73255
73256// node_modules/axios/lib/core/mergeConfig.js
73257var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? { ...thing } : thing;
73258function mergeConfig(config1, config22) {
73259 config22 = config22 || {};
73260 const config8 = {};
73261 function getMergedValue(target, source, prop, caseless) {
73262 if (utils_default.isPlainObject(target) && utils_default.isPlainObject(source)) {
73263 return utils_default.merge.call({ caseless }, target, source);
73264 } else if (utils_default.isPlainObject(source)) {
73265 return utils_default.merge({}, source);
73266 } else if (utils_default.isArray(source)) {
73267 return source.slice();

Callers 4

mergeDeepPropertiesFunction · 0.85
valueFromConfig2Function · 0.85
defaultToConfig2Function · 0.85
mergeDirectKeysFunction · 0.85

Calls 2

mergeMethod · 0.80
sliceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…