class GitDiffParser::DiffParser

Parse entire `git diff` into Patches and Patch

@deprecated

Public Class Methods

parse(contents) click to toggle source

Parse entire `git diff` into Patches and Patch

@deprecated Use {Patches.parse} instead.

@param contents [String] `git diff` result

@return [Patches<Patch>] parsed object

# File lib/git_diff_parser/diff_parser.rb, line 13
def self.parse(contents)
  warn '[DEPRECATION] `DiffParser.parse` is deprecated.  Please use `Patches.parse` instead.'
  Patches.parse(contents)
end