Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileDiff ¶
type FileDiff struct {
File value.ChangedFile
Stat value.FileStat
Lines []Line
OldTotal int
NewTotal int
Changes []int // indices where add/del runs begin, for jump keys
Binary bool
Truncated bool
Err error
HasStat bool `json:"-"`
IsLoaded bool `json:"-"`
// contains filtered or unexported fields
}
func (*FileDiff) SideBySideRows ¶
type Row ¶
type Row struct {
Left, Right int
}
Row addresses one side-by-side display row; -1 means a blank cell.
Click to show internal directories.
Click to hide internal directories.