package ocamldiff

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type index = Odiff_types.index =
  1. | One of int
  2. | Many of int * int
type diff = Odiff_types.diff =
  1. | Add of index * index * string
  2. | Delete of index * index * string
  3. | Change of index * string * index * string
type diffs = diff list
val string_of_diff : ?offset:int -> diff -> string
val string_of_diffs : ?offset:int -> diffs -> string
val print_diffs : Pervasives.out_channel -> ?offset:int -> diffs -> unit
val from_string : string -> diffs
val from_channel : Pervasives.in_channel -> diffs
val from_file : string -> diffs
val files_diffs : string -> string -> diffs
val strings_diffs : string -> string -> diffs
OCaml

Innovation. Community. Security.