Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Delta ¶
type Delta struct { Type DeltaType `json:"kind"` LineNrFrom int `json:"lineNrFrom"` LineNrTarget int `json:"lineNrTarget"` StartPosFrom int64 `json:"startPosFrom"` StartPosTarget int64 `json:"startPosTarget"` Text string `json:"text"` }
Delta represents a patch chunk
type DeltaType ¶
type DeltaType int
DeltaType classifies a patch action like 'delete', 'equal' or 'insert'
Click to show internal directories.
Click to hide internal directories.