|
libfossil
|
#include "internal.h"
Data Fields | |
| int * | aEdit |
| aEdit describes the raw diff. | |
| fsl_dline * | aFrom |
| File content for the left side of the diff. | |
| fsl_dline * | aTo |
| File content for the right side of the diff. | |
| int(* | cmpLine )(const fsl_dline *const, const fsl_dline *const) |
| Predicate for comparing LHS/RHS lines for equivalence. | |
| int | nEdit |
| Number of integers (3x num of triples) in aEdit[]. | |
| int | nEditAlloc |
| Number of elements allocated for aEdit[]. | |
| int | nFrom |
| Number of lines in aFrom[]. | |
| int | nTo |
| Number of lines in aTo[]. | |
| int* fsl__diff_cx::aEdit |
aEdit describes the raw diff.
Each triple of integers in aEdit[] means:
(1) COPY: Number of lines aFrom and aTo have in common (2) DELETE: Number of lines found only in aFrom (3) INSERT: Number of lines found only in aTo
The triples repeat until all lines of both aFrom and aTo are accounted for. The array is terminated with a triple of (0,0,0).
Definition at line 2345 of file internal.h.
| fsl_dline* fsl__diff_cx::aFrom |
File content for the left side of the diff.
Definition at line 2351 of file internal.h.
| fsl_dline* fsl__diff_cx::aTo |
File content for the right side of the diff.
Definition at line 2355 of file internal.h.
Predicate for comparing LHS/RHS lines for equivalence.
Definition at line 2359 of file internal.h.
| int fsl__diff_cx::nEdit |
Number of integers (3x num of triples) in aEdit[].
Definition at line 2347 of file internal.h.
| int fsl__diff_cx::nEditAlloc |
Number of elements allocated for aEdit[].
Definition at line 2349 of file internal.h.
| int fsl__diff_cx::nFrom |
Number of lines in aFrom[].
Definition at line 2353 of file internal.h.
| int fsl__diff_cx::nTo |
Number of lines in aTo[].
Definition at line 2357 of file internal.h.