Page
Library
Module
Module type
Parameter
Class
Class type
Source
Odiff
SourceComputing differences.
Index in a file or string.
Representation of one difference.
offset
is added to line numbers. Default is 0.
offset
is added to line numbers. Default is 0.
Return the list of differences from a string generated string.
Same as Odiff.from_string
but read from the given in_channel.
Same as Odiff.from_string
but read from the given file.
files_diffs file1 file2
runs the diff
command on the given files and returns its parsed output.
Same as Odiff.files_diffs
but on strings. The two strings are put in two files to run the diff
command. The files are removed before returning the result.