package git_split

  1. Overview
  2. Docs
type context_line = [
  1. | `ContextLine of string
]
val show_context_line : context_line -> Ppx_deriving_runtime.string
val equal_context_line : context_line -> context_line -> Ppx_deriving_runtime.bool
type removed_line = [
  1. | `RemovedLine of string
]
val show_removed_line : removed_line -> Ppx_deriving_runtime.string
val equal_removed_line : removed_line -> removed_line -> Ppx_deriving_runtime.bool
type added_line = [
  1. | `AddedLine of string
]
val show_added_line : added_line -> Ppx_deriving_runtime.string
val equal_added_line : added_line -> added_line -> Ppx_deriving_runtime.bool
val equal_line : line -> line -> Ppx_deriving_runtime.bool
type hunk = {
  1. starting_line : int;
  2. context_snippet : string option;
  3. lines : line list;
}
val equal_hunk : hunk -> hunk -> Ppx_deriving_runtime.bool
type changed_file = {
  1. path : string;
  2. hunks : hunk list;
}
val show_changed_file : changed_file -> Ppx_deriving_runtime.string
val equal_changed_file : changed_file -> changed_file -> Ppx_deriving_runtime.bool
type renamed_file = {
  1. old_path : string;
  2. new_path : string;
  3. hunks : hunk list;
}
val show_renamed_file : renamed_file -> Ppx_deriving_runtime.string
val equal_renamed_file : renamed_file -> renamed_file -> Ppx_deriving_runtime.bool
type deleted_file = {
  1. path : string;
  2. lines : removed_line list;
}
val show_deleted_file : deleted_file -> Ppx_deriving_runtime.string
val equal_deleted_file : deleted_file -> deleted_file -> Ppx_deriving_runtime.bool
type created_file = {
  1. path : string;
  2. lines : added_line list;
}
val show_created_file : created_file -> Ppx_deriving_runtime.string
val equal_created_file : created_file -> created_file -> Ppx_deriving_runtime.bool
type file =
  1. | DeletedFile of deleted_file
  2. | CreatedFile of created_file
  3. | ChangedFile of changed_file
  4. | RenamedFile of renamed_file
val equal_file : file -> file -> Ppx_deriving_runtime.bool
type diff = {
  1. files : file list;
}
val equal_diff : diff -> diff -> Ppx_deriving_runtime.bool
OCaml

Innovation. Community. Security.