reviewboard.diffviewer.differ¶
-
class
Differ
(a, b, ignore_space=False, compat_version=None)[source]¶ Bases:
object
Base class for differs.
-
add_interesting_line_regex
(name, regex)[source]¶ Registers a regular expression used to look for interesting lines.
All interesting lines found that match the regular expression will be stored and tagged with the given name. Callers can use get_interesting_lines to get the results.
-
add_interesting_lines_for_headers
(filename)[source]¶ Registers for interesting lines for headers based on filename.
This is a convenience over add_interesting_line_regex that will watch for headers (functions, clases, etc.) for the file type matching the given filename.
-