summaryrefslogtreecommitdiff
path: root/desktop/node_modules/dir-compare/build/src/fileCompareHandler/lines/compare/compareLineBatches.d.ts
blob: 1c498100351a3d5a2d29c17b2e98311f4fa0fc5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { Options } from '../../../index';
import { LineBatch } from '../lineReader/LineBatch';
interface RestLines {
    restLines1: string[];
    restLines2: string[];
}
interface CompareLineBatchResult {
    reachedEof: boolean;
    batchIsEqual: boolean;
    /**
     * Lines that were not compared because the two line batches
     * contained different number of lines.
     * These remaining lines will be compared in the next step.
     */
    restLines: RestLines;
}
/**
 * Compares two batches of lines.
 *
 * @param lineBatch1 Batch to compare.
 * @param lineBatch2 Batch to compare.
 * @param context Comparison context.
 * @param options Comparison options.
 */
export declare function compareLineBatches(lineBatch1: LineBatch, lineBatch2: LineBatch, options: Options): CompareLineBatchResult;
export {};
//# sourceMappingURL=compareLineBatches.d.ts.map