Module Patdiff__.Configuration
include module type of sig ... end
val default_context : intval default_line_big_enough : intval default_word_big_enough : intval too_short_to_split : intval warn_if_no_trailing_newline_in_both_default : bool
type t = private Patdiff_kernel__Configuration.t = {}
val compare : t -> t -> intval warn_if_no_trailing_newline_in_both : t -> boolval location_style : t -> Patdiff_kernel.Format.Location_style.tval next_alt : t -> string optionval prev_alt : t -> string optionval mask_uniques : t -> boolval double_check : t -> boolval quiet : t -> boolval shallow : t -> boolval word_big_enough : t -> intval line_big_enough : t -> intval context : t -> intval assume_text : t -> boolval interleave : t -> boolval split_long_lines : t -> boolval keep_ws : t -> boolval unrefined : t -> boolval produce_unified_lines : t -> boolval float_tolerance : t -> Core_kernel.Percent.t optionval ext_cmp : t -> string optionval rules : t -> Patdiff_kernel.Format.Rules.tval output : t -> Patdiff_kernel.Output.t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.tval invariant : t Base__.Invariant_intf.invval create_exn : output:Patdiff_kernel.Output.t -> rules:Patdiff_kernel.Format.Rules.t -> float_tolerance:Core_kernel.Percent.t option -> produce_unified_lines:bool -> unrefined:bool -> keep_ws:bool -> split_long_lines:bool -> interleave:bool -> assume_text:bool -> context:int -> line_big_enough:int -> word_big_enough:int -> shallow:bool -> quiet:bool -> double_check:bool -> mask_uniques:bool -> prev_alt:string option -> next_alt:string option -> location_style:Patdiff_kernel.Format.Location_style.t -> warn_if_no_trailing_newline_in_both:bool -> tval override : ?output:Patdiff_kernel.Output.t -> ?rules:Patdiff_kernel.Format.Rules.t -> ?float_tolerance:Core_kernel.Percent.t option -> ?produce_unified_lines:bool -> ?unrefined:bool -> ?keep_ws:bool -> ?split_long_lines:bool -> ?interleave:bool -> ?assume_text:bool -> ?context:int -> ?line_big_enough:int -> ?word_big_enough:int -> ?shallow:bool -> ?quiet:bool -> ?double_check:bool -> ?mask_uniques:bool -> ?prev_alt:string option -> ?next_alt:string option -> ?location_style:Patdiff_kernel.Format.Location_style.t -> ?warn_if_no_trailing_newline_in_both:bool -> t -> tval default : t
val load : ?quiet_errors:bool -> string -> t optionval dark_bg : t Core.Lazy.tval light_bg : t Core.Lazy.t
val parse : On_disk.t -> tval save_default : filename:string -> unitval get_config : ?filename:string -> unit -> tReads a config from filename, which by default is ~/.patdiff. If ~filename:"" is passed or filename cannot be read, returns default.