/GitDiff

Parse git unified diffs with Swift.

Primary LanguageSwiftMIT LicenseMIT

GitDiff

CI Status Version License Platform

Parse git unified diffs with Swift.

Features

  • Models for git diffs, headers, hunks and lines.
  • Parsing GitLab diffs.
  • Parsing standard unified diffs.

Requirements

Installation

GitDiff is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'GitDiff'

Test

To run the tests, clone the repo, and run pod install from the Example directory first.

Author

Guillermo Muntaner, guillermomp87@gmail.com

License

GitDiff is available under the MIT license. See the LICENSE file for more info.