grit-ext

Build Status

Resources

How to Use

To use grit-ext, after installing, just require 'grit-ext':

require 'grit-ext'

All of the extensions, additionally to normal grit classes, will be available to you.

Diff#hunks

Diff#hunks method returns an array of DiffHunk. These hunks provide structured information about the diff.

Diff#repo

Diff#full_a_path

Diff#full_b_path

Diff#added

Diff#removed