package
Version:
v0.15.0
Opens a new window with list of versions in this module.
Published: Aug 22, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Hunk struct {
BeforeStart int
BeforeEnd int
AfterStart int
AfterEnd int
}
Hunk describes one contiguous change using UTF-8 byte offsets.
CharacterHunks returns semantically cleaned character-level changes.
LineHunks aligns complete lines before returning changed ranges.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.