MCPcopy Index your code
hub / github.com/Starcounter-Jack/JSON-Patch / compare

Function compare

module/duplex.mjs:171–176  ·  view source on GitHub ↗
(tree1, tree2, invertible)

Source from the content-addressed store, hash-verified

169 * Create an array of patches from the differences in two objects
170 */
171export function compare(tree1, tree2, invertible) {
172 if (invertible === void 0) { invertible = false; }
173 var patches = [];
174 _generate(tree1, tree2, patches, '', invertible);
175 return patches;
176}

Callers

nothing calls this directly

Calls 1

_generateFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…