Versions in this module Expand all Collapse all v0 v0.1.5 Mar 23, 2026 Changes in this version + const MaxDiffLines + type DiffLine struct + Content string + Kind LineKind + Spans []WordSpan + type FileDiff struct + Adds int + IsDeleted bool + IsNew bool + Lines []DiffLine + Path string + Removes int + Truncated int + func Compute(path, newContent string) FileDiff + func ComputeDeleted(path string) FileDiff + type LineKind string + const Add + const Context + const Hunk + const Remove + type WordSpan struct + Changed bool + Text string v0.1.0 Mar 14, 2026