Jump to >

reviewboard.diffviewer.myersdiff

class MyersDiffer(*args, **kwargs)[source]

An implementation of Eugene Myers’s O(ND) Diff algorithm based on GNU diff.

get_opcodes()[source]

Generator that returns opcodes representing the contents of the diff.

The resulting opcodes are in the format of (tag, i1, i2, j1, j2)