aboutsummaryrefslogtreecommitdiff
path: root/lib/export.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/export.ml')
-rw-r--r--lib/export.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/export.ml b/lib/export.ml
new file mode 100644
index 0000000..3346195
--- /dev/null
+++ b/lib/export.ml
@@ -0,0 +1,4 @@
+let to_path path ~content =
+ let oc = open_out path in
+ Printf.fprintf oc "%s" content;
+ close_out oc