package patdiff

  1. Overview
  2. Docs

Rules are configured in the configuration file. Default values are provided in Configuration.

type t = {
  1. line_same : Rule.t;
  2. line_prev : Rule.t;
  3. line_next : Rule.t;
  4. line_unified : Rule.t;
  5. word_same_prev : Rule.t;
  6. word_same_next : Rule.t;
  7. word_same_unified : Rule.t;
  8. word_prev : Rule.t;
  9. word_next : Rule.t;
  10. hunk : Rule.t;
  11. header_prev : Rule.t;
  12. header_next : Rule.t;
}
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t -> t -> int
val sexp_of_t : t -> Sexplib0.Sexp.t
val default : t
val strip_styles : t -> t