struct Grits::DiffLine

Included Modules

Defined in:

grits/diff/diff_line.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(raw : Pointer(LibGit::DiffLine), hunk : Pointer(LibGit::DiffHunk), delta : Pointer(LibGit::DiffDelta)) #

[View source]

Instance Method Detail

def added? #

[View source]
def content : String | Nil #

[View source]
def content_offset #

[View source]
def data #

[View source]
def deleted? #

[View source]
def hunk : Grits::DiffHunk #

[View source]
def new_lineno #

[View source]
def num_lines #

[View source]
def old_lineno #

[View source]
def origin #

[View source]