summaryrefslogtreecommitdiff
path: root/desktop/node_modules/dir-compare/build/src/fileCompareHandler/lines/LineBasedCompareContext.d.ts
blob: 9f3985b7a9ade69b7b0bde36d70697c21e5de2a1 (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
28
29
30
31
32
33
34
35
36
import { BufferPair } from '../../fs/BufferPool';
interface RestPair {
    rest1: string;
    rest2: string;
}
interface RestLines {
    restLines1: string[];
    restLines2: string[];
}
export declare class LineBasedCompareContext {
    /**
     * File to compare.
     */
    fd1: number;
    /**
     * File to compare.
     */
    fd2: number;
    /**
     * Buffers used as temporary storage.
     */
    buffer: BufferPair;
    /**
     * Part of a line that was split at buffer boundary in a previous read.
     * Will be prefixed to the next read.
     */
    rest: RestPair;
    /**
     * Lines that remain unprocessed from a previous read.
     * Will be prefixed to the next read.
     */
    restLines: RestLines;
    constructor(fd1: number, fd2: number, bufferPair: BufferPair);
}
export {};
//# sourceMappingURL=LineBasedCompareContext.d.ts.map