summaryrefslogtreecommitdiff
path: root/desktop/node_modules/dir-compare/build/src/index.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/node_modules/dir-compare/build/src/index.d.ts')
-rw-r--r--desktop/node_modules/dir-compare/build/src/index.d.ts24
1 files changed, 24 insertions, 0 deletions
diff --git a/desktop/node_modules/dir-compare/build/src/index.d.ts b/desktop/node_modules/dir-compare/build/src/index.d.ts
new file mode 100644
index 0000000..3c7d3fe
--- /dev/null
+++ b/desktop/node_modules/dir-compare/build/src/index.d.ts
@@ -0,0 +1,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 \ No newline at end of file