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

Interface DraftChangeObject

src/diff/base.ts:9–17  ·  view source on GitHub ↗

* Like a ChangeObject, but with no value and an extra `previousComponent` property. * A linked list of these (linked via `.previousComponent`) is used internally in the code below to * keep track of the state of the diffing algorithm, but gets converted to an array of * ChangeObjects before being

Source from the content-addressed store, hash-verified

7 * ChangeObjects before being returned to the caller.
8 */
9interface DraftChangeObject {
10 added: boolean;
11 removed: boolean;
12 count: number;
13 previousComponent?: DraftChangeObject;
14
15 // Only added in buildValues:
16 value?: any;
17}
18
19interface Path {
20 oldPos: number;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected