package patdiff
File Diff using the Patience Diff algorithm
Install
Dune Dependency
Authors
Maintainers
Sources
patdiff-v0.13.0.tar.gz
sha256=98f2259bd4789caaa40680ad00c1f4413812f1288ac1dcedcedca5d0ccda1a90
md5=d19bf464dc5133c5b10ca8a1a0aca49e
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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>