Function
hasNewObjectKeys
(openObj: Record<string, any>, arctObj: Record<string, any>)
Source from the content-addressed store, hash-verified
| 193 | } |
| 194 | |
| 195 | function hasNewObjectKeys(openObj: Record<string, any>, arctObj: Record<string, any>): boolean { |
| 196 | return Object.keys(openObj).some((key) => !(key in arctObj)) |
| 197 | } |
| 198 | |
| 199 | function shouldImportField(opencodeConfig: Config.Info, arcticConfig: Config.Info, field: keyof Config.Info): boolean { |
| 200 | const opencodeValue = opencodeConfig[field] |
Tested by
no test coverage detected