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_same_unified_in_move : Rule.t;
  9. word_prev : Rule.t;
  10. word_next : Rule.t;
  11. hunk : Rule.t;
  12. header_prev : Rule.t;
  13. header_next : Rule.t;
  14. moved_from_prev : Rule.t;
  15. moved_to_next : Rule.t;
  16. removed_in_move : Rule.t;
  17. added_in_move : Rule.t;
  18. line_unified_in_move : 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
OCaml

Innovation. Community. Security.