var (
ErrEmptyOld = errors.New("old text is empty")
ErrNoOpEdit = errors.New("old text and new text are identical")
ErrNoMatch = errors.New("old text did not match content")
ErrAmbiguousMatch = errors.New("old text matched multiple locations")
)
UnifiedDiffExact emits a line diff without normalizing BOMs or line endings.
It is used when the byte-level replacement itself is the operation being
reported, rather than a normalized text edit.