GitDiff v0.6.4 GitDiff.Line View Source
Every chunk contains multiple lines, which can be context, added, or removed lines.
Link to this section Summary
Functions
Defines the Line struct.
Link to this section Types
Defines the Line struct.
- :from_line_number - The line number preimage.
- :to_line_number - The line number postimages.
- :text - The text of this line.
- :type - The extracted type of line. One of :context, :add, or :remove.
Link to this section Functions
Defines the Line struct.
- :from_line_number - The line number preimage.
- :to_line_number - The line number postimages.
- :text - The text of this line.
- :type - The extracted type of line. One of :context, :add, or :remove.