struct Grits::HunkData

Defined in:

grits/diff/diff_hunk.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(new_lines : Int32, old_lines : Int32, new_start : Int32, old_start : Int32, header : String, delta : DeltaData) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(new_lines _new_lines = @new_lines, old_lines _old_lines = @old_lines, new_start _new_start = @new_start, old_start _old_start = @old_start, header _header = @header, delta _delta = @delta) #

[View source]
def delta : DeltaData #

def header : String #

def new_lines : Int32 #

def new_start : Int32 #

def old_lines : Int32 #

def old_start : Int32 #