MCPcopy Create free account
hub / github.com/bigcode-project/jupytercoder / diffWords

Function diffWords

src/diff.js:333–338  ·  view source on GitHub ↗
(oldStr, newStr, options)

Source from the content-addressed store, hash-verified

331 };
332
333 function diffWords(oldStr, newStr, options) {
334 options = generateOptions(options, {
335 ignoreWhitespace: true
336 });
337 return wordDiff.diff(oldStr, newStr, options);
338 }
339 function diffWordsWithSpace(oldStr, newStr, options) {
340 return wordDiff.diff(oldStr, newStr, options);
341 }

Callers

nothing calls this directly

Calls 1

generateOptionsFunction · 0.85

Tested by

no test coverage detected