MCPcopy
hub / github.com/benjamine/jsondiffpatch / diff

Method diff

packages/jsondiffpatch/src/diffpatcher.ts:62–64  ·  view source on GitHub ↗
(left: unknown, right: unknown)

Source from the content-addressed store, hash-verified

60 }
61
62 diff(left: unknown, right: unknown) {
63 return this.processor.process(new DiffContext(left, right));
64 }
65
66 patch(left: unknown, delta: Delta) {
67 return this.processor.process(new PatchContext(left, delta));

Callers 8

index.spec.tsFile · 0.80
expectFormatFunction · 0.80
diffFunction · 0.80
diffFunction · 0.80
jsondiffpatch.jsFile · 0.80
demo.tsFile · 0.80
numeric-plugin.tsFile · 0.80
compareFunction · 0.80

Calls 1

processMethod · 0.45

Tested by 1

expectFormatFunction · 0.64