Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasChanges ¶
HasChanges returns true if old and new content differ.
func UnifiedDiff ¶
UnifiedDiff generates a unified diff string between old and new content. contextLines controls how many unchanged lines surround each change. For very large files (>5000 combined lines), falls back to showing only the first N changed lines to avoid OOM and TUI freeze.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.