struct Grits::LineData

Defined in:

grits/diff/diff_line.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(origin : Char, new_lineno : Int32, old_lineno : Int32, num_lines : Int64, content_offset : Int64, content : String, hunk : HunkData) #

[View source]

Instance Method Detail

def clone #

[View source]
def content : String #

def content_offset : Int64 #

def copy_with(origin _origin = @origin, new_lineno _new_lineno = @new_lineno, old_lineno _old_lineno = @old_lineno, num_lines _num_lines = @num_lines, content_offset _content_offset = @content_offset, content _content = @content, hunk _hunk = @hunk) #

[View source]
def hunk : HunkData #

def new_lineno : Int32 #

def num_lines : Int64 #

def old_lineno : Int32 #

def origin : Char #