summaryrefslogtreecommitdiff
path: root/lib/render/emit_csv.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/render/emit_csv.mli')
-rw-r--r--lib/render/emit_csv.mli9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/render/emit_csv.mli b/lib/render/emit_csv.mli
new file mode 100644
index 0000000..262f660
--- /dev/null
+++ b/lib/render/emit_csv.mli
@@ -0,0 +1,9 @@
+(* emit_csv.mli *)
+(** One row per day, RFC 4180. Consumes the VIEW, not the kernel, so every
+ emitter describes exactly the same fields as every template. *)
+
+(** RFC 4180 section 2: quote a field containing a comma, a quote or a newline;
+ double an embedded quote. Exposed for testing. *)
+val escape_field : string -> string
+
+val year : Template.value -> string