Clibgit2 wraps libgit2 into SPM to be used in Swift code.
Check the usage below or look through the repositories tests.
Clibgit2 is compatible with Swift Package Manager v4 (Swift 4 and above). Simply add it to the dependencies in your Package.swift
.
dependencies: [
.package(url: "https://github.com/Boilertalk/Clibgit2.git", from: "0.1.0")
]
After which you can import it in your .swift
files.
import Clibgit2
TODO: Add usage examples
The awesome guys at Boilertalk ⚗️
Clibgit2 is available under the MIT license. See the LICENSE file for more info.