Parse git unified diffs with Swift.
- Models for git diffs, headers, hunks and lines.
- Parsing GitLab diffs.
- Parsing standard unified diffs.
- iOS 8.0+ / macOS 10.10+
- The framework is build with Swift 4.2. According to Swift Version Compatibility requires Swift 3+
GitDiff is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'GitDiff'
To run the tests, clone the repo, and run pod install
from the Example directory first.
Guillermo Muntaner, guillermomp87@gmail.com
GitDiff is available under the MIT license. See the LICENSE file for more info.