aboutsummaryrefslogtreecommitdiff
path: root/lib/render/emit_csv.mli
blob: 262f660857b7cab391813c74cd469e71dfa805ff (plain) (blame)
1
2
3
4
5
6
7
8
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