diff options
Diffstat (limited to 'lib/configuration/read_conf.mli')
| -rw-r--r-- | lib/configuration/read_conf.mli | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/configuration/read_conf.mli b/lib/configuration/read_conf.mli new file mode 100644 index 0000000..3f2dde5 --- /dev/null +++ b/lib/configuration/read_conf.mli @@ -0,0 +1,9 @@ +type error = Json5.Decode.error + +val read_conf : string -> (Ast.setting, error) result +(** Read the configuration from a file *) + +val read_string_conf : string -> (Ast.setting, error) result +(** Read the configuration from a string *) + +val pp_error : Format.formatter -> error -> unit |
