package comby

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val apply : string Patdiff_kernel__.Import.Patience_diff.Hunks.t -> Core_kernel.Percent.t -> context:int -> string Patdiff_kernel__.Import.Patience_diff.Hunks.t

apply hunks tolerance ~context converts diff ranges into context if the diff looks like floating point numbers that changed by less than tolerance. If necessary, narrows or splits the resulting hunks to limit context to context lines.

Float tolerance must be applied before refinement.

OCaml

Innovation. Community. Security.