1 | import { CompareFileHandler } from './types';
|
2 | export interface FileCompareHandlers {
|
3 | /**
|
4 | * Default file content comparison handlers, used if [[Options.compareFileAsync]] or [[Options.compareFileSync]] are not specified.
|
5 | *
|
6 | * Performs binary comparison.
|
7 | */
|
8 | defaultFileCompare: CompareFileHandler;
|
9 | /**
|
10 | * Compares files line by line.
|
11 | *
|
12 | * Options:
|
13 | * * ignoreLineEnding - true/false (default: false) - Ignore cr/lf line endings
|
14 | * * ignoreWhiteSpaces - true/false (default: false) - Ignore white spaces at the beginning and ending of a line (similar to 'diff -b')
|
15 | * * ignoreAllWhiteSpaces - true/false (default: false) - Ignore all white space differences (similar to 'diff -w')
|
16 | * * ignoreEmptyLines - true/false (default: false) - Ignores differences caused by empty lines (similar to 'diff -B')
|
17 | */
|
18 | lineBasedFileCompare: CompareFileHandler;
|
19 | }
|
20 | //# sourceMappingURL=FileCompareHandlers.d.ts.map |
\ | No newline at end of file |