Up

Module Configuration

Signature

val warn_if_no_trailing_newline_in_both_default : bool
type t = private {
output
: Patdiff_core.Output.t ;
rules
: Patdiff_core.Format.Rules.t ;
ext_cmp
: string option ;
produce_unified_lines
: bool ;
unrefined
: bool ;
keep_ws
: bool ;
split_long_lines
: bool ;
context
: int ;
shallow
: bool ;
quiet
: bool ;
double_check
: bool ;
mask_uniques
: bool ;
old_alt
: string option ;
new_alt
: string option ;
location_style
: Patdiff_core.Format.Location_style.t ;
warn_if_no_trailing_newline_in_both
: bool ;
}
val warn_if_no_trailing_newline_in_both : t -> bool
val location_style : t -> Patdiff_core.Format.Location_style.t
val new_alt : t -> string option
val old_alt : t -> string option
val mask_uniques : t -> bool
val double_check : t -> bool
val quiet : t -> bool
val shallow : t -> bool
val context : t -> int
val split_long_lines : t -> bool
val keep_ws : t -> bool
val unrefined : t -> bool
val produce_unified_lines : t -> bool
val ext_cmp : t -> string option
val output : t -> Patdiff_core.Output.t
module Fields : sig .. end
include Core.Std.Invariant.S with type t := t
type t
val invariant : t Invariant_intf.inv
val override : ?output:Patdiff_core.Output.t -> ?rules:Patdiff_core.Format.Rules.t -> ?ext_cmp:string option -> ?produce_unified_lines:bool -> ?unrefined:bool -> ?keep_ws:bool -> ?split_long_lines:bool -> ?context:int -> ?shallow:bool -> ?quiet:bool -> ?double_check:bool -> ?mask_uniques:bool -> ?old_alt:string option -> ?new_alt:string option -> ?location_style:Patdiff_core.Format.Location_style.t -> ?warn_if_no_trailing_newline_in_both:bool -> t -> t
val load : ?quiet_errors:bool -> string -> t option
val dark_bg : t Core.Std.Lazy.t
val light_bg : t Core.Std.Lazy.t
module Config : sig .. end
module Old_config : sig .. end
val parse : Config.t -> t