Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanHunkHeader ¶
func DiffBodyPadding ¶
func SanitizeANSIInline ¶
Types ¶
type ParsedDiff ¶
type ParsedDiff = diffcore.ParsedDiff
type RowKind ¶
type RowKind int
func BuildDisplayBaseLines ¶
func BuildDisplayBaseLines(parsed ParsedDiff, colorLines []string) (lines []string, kinds []RowKind, displayToRaw []int)
type SymlinkDiffInfo ¶
type SymlinkDiffInfo struct {
IsSymlink bool
WasSymlink bool
IsNowSymlink bool
TypeChange bool
OldTarget string
NewTarget string
}
func ParseSymlinkDiffInfo ¶
func ParseSymlinkDiffInfo(parsed ParsedDiff) SymlinkDiffInfo
func (SymlinkDiffInfo) Summary ¶
func (si SymlinkDiffInfo) Summary() string
func (SymlinkDiffInfo) TitleLabel ¶
func (si SymlinkDiffInfo) TitleLabel() string
Click to show internal directories.
Click to hide internal directories.