Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Testo_util.DiffSourceCompare two files and show differences as lines starting with + or -, optionally in color. The output format resembles the Unified format.
If the two files use different line endings, the line endings are shown in diffs.
If the two files differ only by their line endings, a special message is shown instead.
The return value is Some formatted_diffs if the files differ, None otherwise.
val strings :
?color:bool ->
?is_file:bool ->
path1:Fpath.t ->
path2:Fpath.t ->
string ->
string ->
string optionShow the differences between two strings. The paths path1 and path2 are only for display purposes.