Versions in this module Expand all Collapse all v0 v0.75.0 Dec 4, 2026 Changes in this version + func Inline(oldLines, newLines []string) (oldRanges, newRanges [][]Range) + type Hunk struct + Lines []Line + NewCount int + NewStart int + OldCount int + OldStart int + func Compute(oldContent, newContent string, context int) []Hunk + type Kind uint8 + const Delete + const Equal + const Insert + type Line struct + Kind Kind + New int + Old int + Text string + type Range struct + End int + Start int