module GitDiffParser

Parse `git diff` into patches and lines

Constants

VERSION

Public Class Methods

parse(contents) click to toggle source

@param contents [String] `git diff` result.

@return [Patches<Patch>] parsed patches and lines

# File lib/git_diff_parser.rb, line 12
def self.parse(contents)
  Patches.parse(contents)
end