Python API
Text diff
oxen.diff/text_diff
TextDiff Objects
class TextDiff()
A class representing a text diff.
num_added
@property
def num_added() -> int
Returns the number of added lines in the diff.
num_removed
@property
def num_removed() -> int
Returns the number of removed lines in the diff.
lines
@property
def lines() -> list[LineDiff]
Returns the contents of the diff as a polars data frame.