blob: 3c7d3fefc7d3fb95e8376028e7d82d5f4593317e (
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
|
import { Options, Result } from './types';
import { FileCompareHandlers } from './FileCompareHandlers';
export * from './types';
export { FileCompareHandlers };
/**
* Synchronously compares given paths.
* @param path1 Left file or directory to be compared.
* @param path2 Right file or directory to be compared.
* @param options Comparison options.
*/
export declare function compareSync(path1: string, path2: string, options?: Options): Result;
/**
* Asynchronously compares given paths.
* @param path1 Left file or directory to be compared.
* @param path2 Right file or directory to be compared.
* @param options Comparison options.
*/
export declare function compare(path1: string, path2: string, options?: Options): Promise<Result>;
/**
* File comparison handlers.
* These handlers are used when [[Options.compareContent]] is set.
*/
export declare const fileCompareHandlers: FileCompareHandlers;
//# sourceMappingURL=index.d.ts.map
|