summaryrefslogtreecommitdiff
path: root/desktop/node_modules/dir-compare/build/src/fileCompareHandler/lines/LineBasedCompareContext.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/node_modules/dir-compare/build/src/fileCompareHandler/lines/LineBasedCompareContext.d.ts')
-rw-r--r--desktop/node_modules/dir-compare/build/src/fileCompareHandler/lines/LineBasedCompareContext.d.ts36
1 files changed, 36 insertions, 0 deletions
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