GitDiffSwift is a git diff parser written in Swift.
- Diff parsing
- Apply a diff to a file
- Outputs diff as JSON
- Outputs original diff from Swift model
pod 'GitDiffSwift'
Make the following entry in your Cartfile:
github "SD10/GitDiffSwift"
To integrate using Apple's Swift package manager, add the following as a dependency to your Package.swift
:
.package(url: "https://github.com/SD10/GitDiffSwift.git", .upToNextMajor(from: "0.0.1"))
Pull requests welcomed. This repo is being developed at the speed of snail.
GitDiffSwift is released under the MIT License