diff options
Diffstat (limited to 'desktop/node_modules/dir-compare/build/src/fileCompareHandler/lines/LineBasedCompareContext.js')
-rw-r--r-- | desktop/node_modules/dir-compare/build/src/fileCompareHandler/lines/LineBasedCompareContext.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/desktop/node_modules/dir-compare/build/src/fileCompareHandler/lines/LineBasedCompareContext.js b/desktop/node_modules/dir-compare/build/src/fileCompareHandler/lines/LineBasedCompareContext.js new file mode 100644 index 0000000..4ed51ef --- /dev/null +++ b/desktop/node_modules/dir-compare/build/src/fileCompareHandler/lines/LineBasedCompareContext.js @@ -0,0 +1,22 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.LineBasedCompareContext = void 0; +class LineBasedCompareContext { + constructor(fd1, fd2, bufferPair) { + /** + * Part of a line that was split at buffer boundary in a previous read. + * Will be prefixed to the next read. + */ + this.rest = { rest1: '', rest2: '' }; + /** + * Lines that remain unprocessed from a previous read. + * Will be prefixed to the next read. + */ + this.restLines = { restLines1: [], restLines2: [] }; + this.fd1 = fd1; + this.fd2 = fd2; + this.buffer = bufferPair; + } +} +exports.LineBasedCompareContext = LineBasedCompareContext; +//# sourceMappingURL=LineBasedCompareContext.js.map
\ No newline at end of file |