package patch

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module PatchSource

Sourcetype hunk = {
  1. mine_start : int;
  2. mine_len : int;
  3. mine : string list;
  4. their_start : int;
  5. their_len : int;
  6. their : string list;
}
Sourceval pp_hunk : Format.formatter -> hunk -> unit
Sourcetype operation =
  1. | Edit of string
  2. | Rename of string * string
  3. | Delete of string
  4. | Create of string
  5. | Rename_only of string * string
Sourceval pp_operation : git:bool -> Format.formatter -> operation -> unit
Sourceval operation_eq : operation -> operation -> bool
Sourcetype t = {
  1. operation : operation;
  2. hunks : hunk list;
  3. mine_no_nl : bool;
  4. their_no_nl : bool;
}
Sourceval pp : git:bool -> Format.formatter -> t -> unit
Sourceval to_diffs : string -> t list
Sourceval patch : string option -> t -> string option
OCaml

Innovation. Community. Security.