Debian Codegraph @

vendor/opam/src/format/opamFormatConfig.mli

raw
1 (**************************************************************************)
2 (* *)
3 (* Copyright 2015-2016 OCamlPro *)
4 (* *)
5 (* All rights reserved. This file is distributed under the terms of the *)
6 (* GNU Lesser General Public License version 2.1, with the special *)
7 (* exception on linking described in the file LICENSE. *)
8 (* *)
9 (**************************************************************************)
10
11 module E : sig
12 type OpamStd.Config.E.t +=
13 | ALLPARENS of bool option
14 | SKIPVERSIONCHECKS of bool option
15 | STRICT of bool option
16 end
17
18 (** Configuration options for the format lib (record, global reference and
19 setter) *)
20
21 type t = private {
22 strict : bool;
23 (** Fail early with errors in OPAM files *)
24 skip_version_checks : bool;
25 (** Ignore mismatching OPAM versions in files *)
26 all_parens : bool;
27 (** Affects the OPAM format printer; for backwards-compatibility *)
28 }
29
30 type 'a options_fun =
31 ?strict:bool ->
32 ?skip_version_checks:bool ->
33 ?all_parens:bool ->
34 'a
35
36 include OpamStd.Config.Sig
37 with type t := t
38 and type 'a options_fun := 'a options_fun