aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/file_handler/dry_run.ml17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/file_handler/dry_run.ml b/lib/file_handler/dry_run.ml
new file mode 100644
index 0000000..ea17a23
--- /dev/null
+++ b/lib/file_handler/dry_run.ml
@@ -0,0 +1,17 @@
+module A = ImportAnalyser.Dependency
+module C = ImportContainers
+module Db = ImportSQL.Db
+
+let importInDatable :
+ log_error:ImportErrors.t ->
+ conf:ImporterSyntax.t ->
+ dirname:string ->
+ A.t ->
+ 'a Db.t ->
+ ImportDataTypes.Value.t array option Lwt.t =
+ fun ~log_error ~conf ~dirname mapping db ->
+ ignore dirname;
+ ignore conf;
+ ignore log_error;
+ ignore @@ Db.create_table db mapping;
+ Lwt.return None