Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sd10/gitdiffswift

A Git diff parser written in Swift
https://github.com/sd10/gitdiffswift

Last synced: 3 months ago
JSON representation

A Git diff parser written in Swift

Awesome Lists containing this project

README

        

# 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

### [CocoaPods](https://cocoapods.org/)
````Ruby
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`:
````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](https://github.com/sd10/GitDiffSwift/blob/master/LICENSE.md)