diff options
| author | Sébastien Dailly <sebastien@dailly.me> | 2026-03-27 08:48:05 +0100 |
|---|---|---|
| committer | Sébastien Dailly <sebastien@dailly.me> | 2026-03-27 08:48:05 +0100 |
| commit | 830e7c5d27d161b91402414e6ecd49f1ed818bfb (patch) | |
| tree | 448864635d29b1ea66424cbb9e0816fbcf1e1907 /lib/configuration/read_conf.mli | |
Initial commit
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 |
