Versions in this module Expand all Collapse all v1 v1.94.0 May 6, 2026 Changes in this version + type Line struct + NewLine int + OldLine int + Type LineType + func Parse(diffText string) []Line + type LineType int + const Added + const Removed + const Unchanged + func FindNewLine(lines []Line, target int) (int, LineType, error) + func FindOldLine(lines []Line, target int) (int, LineType, error)