SD10 / GitDiffSwift

A Git diff parser written in Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitDiffSwift

GitDiffSwift is a git diff parser written in Swift.

Features

  • Diff parsing
  • Apply a diff to a file
  • Outputs diff as JSON
  • Outputs original diff from Swift model

Installation

pod 'GitDiffSwift'

Carthage

Make the following entry in your Cartfile:

github "SD10/GitDiffSwift"

Swift Package Manager

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"))

Contributing

Pull requests welcomed. This repo is being developed at the speed of snail.

License

GitDiffSwift is released under the MIT License

About

A Git diff parser written in Swift

License:MIT License


Languages

Language:Swift 94.6%Language:Ruby 5.4%