package patdiff

  1. Overview
  2. Docs
File Diff using the Patience Diff algorithm

Install

Dune Dependency

Authors

Maintainers

Sources

v0.12.1.tar.gz
sha256=af17e2278b56ca99f02c695b8ab5a24c9a093aff6c1c2cbc35256d14ab2603f0
md5=ff1f479dc9f19da583318e6fbaa3786f

doc/patdiff.lib/Patdiff_lib/Float_tolerance/index.html

Module Patdiff_lib.Float_tolerance

val apply : string Patdiff_lib.Import.Patience_diff.Hunks.t -> Core.Percent.t -> context:int -> string Patdiff_lib.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.