Sha256: 3b5c51502e71d7765eb1c1d069b35e542c6e2760ceb1a5b98cd11e9cff41305f

Contents?: true

Size: 404 Bytes

Versions: 6

Compression:

Stored size: 404 Bytes

Contents

require 'git_diff_parser/version'
require 'git_diff_parser/line'
require 'git_diff_parser/patch'
require 'git_diff_parser/patches'
require 'git_diff_parser/diff_parser'

# Parse `git diff` into patches and lines
module GitDiffParser
  # @param contents [String] `git diff` result.
  #
  # @return [Patches<Patch>] parsed patches and lines
  def self.parse(contents)
    Patches.parse(contents)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
git_diff_parser-4.0.0 lib/git_diff_parser.rb
git_diff_parser-3.2.0 lib/git_diff_parser.rb
git_diff_parser-3.1.0 lib/git_diff_parser.rb
git_diff_parser-3.0.0 lib/git_diff_parser.rb
git_diff_parser-2.3.0 lib/git_diff_parser.rb
git_diff_parser-2.2.0 lib/git_diff_parser.rb