package patdiff

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

Install

Dune Dependency

Authors

Maintainers

Sources

patdiff-v0.12.0.tar.gz
sha256=718f30ca6e567266d2dec5c040e5e6b56657a2adcde1d2367d9dca38c814786a
md5=c7f69086b9b2c5a0fbb43b1ef89162b1

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.