MCPcopy Index your code
hub / github.com/kpdecker/jsdiff / callback

Function callback

test/diff/line.js:73–76  ·  view source on GitHub ↗
(diffResult)

Source from the content-addressed store, hash-verified

71 });
72 it('terminates early - async', function(done) {
73 function callback(diffResult) {
74 expect(diffResult).to.be.undefined;
75 done();
76 }
77 diffLines(
78 'line\nold value\nline',
79 'line\nnew value\nline', { callback, maxEditLength: 1 });

Callers 5

loadFileFunction · 0.85
loadFileFunction · 0.85
patchedFunction · 0.85
doneMethod · 0.85
createTwoFilesPatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected