From ae187b6d75c8079da0be1dc288613bad8466fe61 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Tue, 24 Oct 2023 17:43:37 +0200 Subject: Initial commit --- .../lines/LineBasedCompareContext.d.ts | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 desktop/node_modules/dir-compare/build/src/fileCompareHandler/lines/LineBasedCompareContext.d.ts (limited to 'desktop/node_modules/dir-compare/build/src/fileCompareHandler/lines/LineBasedCompareContext.d.ts') diff --git a/desktop/node_modules/dir-compare/build/src/fileCompareHandler/lines/LineBasedCompareContext.d.ts b/desktop/node_modules/dir-compare/build/src/fileCompareHandler/lines/LineBasedCompareContext.d.ts new file mode 100644 index 0000000..9f3985b --- /dev/null +++ b/desktop/node_modules/dir-compare/build/src/fileCompareHandler/lines/LineBasedCompareContext.d.ts @@ -0,0 +1,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 \ No newline at end of file -- cgit