GitDiff
Parse git unified diffs with Swift.
Features
- Models for git diffs, headers, hunks and lines.
- Parsing GitLab diffs.
- Parsing standard unified diffs.
Requirements
- iOS 8.0+ / macOS 10.10+
- The framework is build with Swift 4.2. According to Swift Version Compatibility requires Swift 3+
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, [email protected]
License
GitDiff is available under the MIT license. See the LICENSE file for more info.