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

Function clonePath

src/diff.js:259–264  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

257 }
258
259 function clonePath(path) {
260 return {
261 newPos: path.newPos,
262 components: path.components.slice(0)
263 };
264 }
265
266 var characterDiff = new Diff();
267 function diffChars(oldStr, newStr, options) {

Callers 1

execEditLengthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected