MCPcopy Create free account
hub / github.com/arctic-cli/interface / hasNewObjectKeys

Function hasNewObjectKeys

packages/arctic/src/cli/opencode-config-import.ts:195–197  ·  view source on GitHub ↗
(openObj: Record<string, any>, arctObj: Record<string, any>)

Source from the content-addressed store, hash-verified

193}
194
195function hasNewObjectKeys(openObj: Record<string, any>, arctObj: Record<string, any>): boolean {
196 return Object.keys(openObj).some((key) => !(key in arctObj))
197}
198
199function shouldImportField(opencodeConfig: Config.Info, arcticConfig: Config.Info, field: keyof Config.Info): boolean {
200 const opencodeValue = opencodeConfig[field]

Callers 1

shouldImportFieldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected