MCPcopy Create free account
hub / github.com/anomalyco/opencode / merge

Function merge

packages/opencode/src/config/config.ts:350–353  ·  view source on GitHub ↗
(source: string, next: Info, kind?: ConfigPlugin.Scope)

Source from the content-addressed store, hash-verified

348 })
349
350 const merge = (source: string, next: Info, kind?: ConfigPlugin.Scope) => {
351 result = mergeConfigConcatArrays(result, next)
352 return mergePluginOrigins(source, next.plugin, kind)
353 }
354
355 for (const [key, value] of Object.entries(auth)) {
356 if (value.type === "wellknown") {

Callers 1

config.tsFile · 0.70

Calls 1

mergeConfigConcatArraysFunction · 0.85

Tested by

no test coverage detected