To focus the search input from anywhere on the page, press the 'S' key.
in-package search v0.1.0
package comby
-
comby
-
-
comby.configuration
-
comby.interactive
-
comby.patdiff
-
comby.patdiff_kernel
-
-
comby.pipeline
-
comby.statistics
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Patdiff_kernel.Patdiff_core end
module type S = Patdiff_kernel.Patdiff_core.S
module Private = Patdiff_kernel.Patdiff_core.Private
module Without_unix = Patdiff_kernel.Patdiff_core.Without_unix
include Patdiff_kernel.Patdiff_core.S
val diff :
context:int ->
line_big_enough:int ->
keep_ws:bool ->
prev:string array ->
next:string array ->
Patdiff_kernel.Hunks.t
diff ~context ~keep_ws ~prev ~next
uses Patience_diff.String
to get a list of hunks describing the comparison between prev
and next
.
val refine :
rules:Patdiff_kernel.Format.Rules.t ->
produce_unified_lines:bool ->
output:Patdiff_kernel.Output.t ->
keep_ws:bool ->
split_long_lines:bool ->
interleave:bool ->
word_big_enough:int ->
Patdiff_kernel.Hunks.t ->
Patdiff_kernel.Hunks.t
refine hunks
maps each Range.Replace (prev, next)
in hunks
to a diff of prev
against next
.
val print :
file_names:(Patdiff_kernel.File_name.t * Patdiff_kernel.File_name.t) ->
rules:Patdiff_kernel.Format.Rules.t ->
output:Patdiff_kernel.Output.t ->
location_style:Patdiff_kernel.Format.Location_style.t ->
Patdiff_kernel.Hunks.t ->
unit
Print a hunk list, usually from diff
or refine
val output_to_string :
?print_global_header:bool ->
file_names:(Patdiff_kernel.File_name.t * Patdiff_kernel.File_name.t) ->
rules:Patdiff_kernel.Format.Rules.t ->
output:Patdiff_kernel.Output.t ->
location_style:Patdiff_kernel.Format.Location_style.t ->
Patdiff_kernel.Hunks.t ->
string
Output a hunk list, usually from diff
or refine
, to a string
val iter_ansi :
rules:Patdiff_kernel.Format.Rules.t ->
f_hunk_break:((int * int) -> (int * int) -> unit) ->
f_line:(string -> unit) ->
Patdiff_kernel.Hunks.t ->
unit
Iter along the lines of the diff and the breaks between hunks. Offers more flexibility regarding what the caller wants to do with the lines
val patdiff :
?context:int ->
?keep_ws:bool ->
?rules:Patdiff_kernel.Format.Rules.t ->
?output:Patdiff_kernel.Output.t ->
?produce_unified_lines:bool ->
?split_long_lines:bool ->
?print_global_header:bool ->
?location_style:Patdiff_kernel.Format.Location_style.t ->
?interleave:bool ->
?line_big_enough:int ->
?word_big_enough:int ->
prev:Patdiff_kernel.Diff_input.t ->
next:Patdiff_kernel.Diff_input.t ->
unit ->
string
Runs the equivalent of the command line version of patdiff on two given contents prev
and next
. Uses Patience_diff.String
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>