Constructor
new ActualDiff(raw, insertions, moves, updates, deletions, cost)
Construct a new ActualDiff instance.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
raw |
String | The raw diff output. | |
insertions |
Number | The number of detected insertions. | |
moves |
Number | The number of detected moves. | |
updates |
Number | The number of detected updates. | |
deletions |
Number | The number of detected deletions. | |
cost |
Number | 0 | The overall cost of the edit script. |
- Source:
Classes
Members
(constant) cost :Number
The overall cost of the edit script.
Type:
- Number
- Source:
(constant) deletions :Number
The total number of detected deletions.
Type:
- Number
- Source:
(constant) diffSize :Number
The size of the diff in Bytes.
Type:
- Number
- Source:
(constant) editOperations :Number
The total number of detected edit operations.
Type:
- Number
- Source:
(constant) insertions :Number
The total number of detected insertions.
Type:
- Number
- Source:
(constant) moves :Number
The total number of detected moves.
Type:
- Number
- Source:
(constant) updates :Number
The total number of detected updates.
Type:
- Number
- Source: