MCPcopy
hub / github.com/di-sukharev/opencommit / mergeObjectAsync

Method mergeObjectAsync

out/cli.cjs:29419–29430  ·  view source on GitHub ↗
(status, pairs)

Source from the content-addressed store, hash-verified

29417 return { status: status.value, value: arrayValue };
29418 }
29419 static async mergeObjectAsync(status, pairs) {
29420 const syncPairs = [];
29421 for (const pair of pairs) {
29422 const key = await pair.key;
29423 const value = await pair.value;
29424 syncPairs.push({
29425 key,
29426 value
29427 });
29428 }
29429 return _ParseStatus.mergeObjectSync(status, syncPairs);
29430 }
29431 static mergeObjectSync(status, pairs) {
29432 const finalObject = {};
29433 for (const pair of pairs) {

Callers 1

_parseMethod · 0.80

Calls 2

mergeObjectSyncMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected