Skip to main content

Module diff

Module diff 

Source
Expand description

A unified diff a tool returned, drawn in the transcript: each line with its numbers in the old and the new file, in the colors of the file’s language (highlight), removed lines on red and added ones on green (Theme), and the words a changed line changed on a stronger shade of each.

Functions§

unified_lines
text drawn as a unified diff when it holds a hunk header, else None, in theme’s colors.