Skip to content

Repository files navigation

Swift libgit2

Swift libgit2 is a package that provides access to the libgit2 C API without any Swift API overlay.

The version numbers of this package follow the version numbers of libgit2.

Using Swift libgit2 in your project

Add swift-libgit2 as a dependency to your package:

letpackage=Package(
// ...
dependencies:[.package(url:"https://github.com/Formkunft/swift-libgit2.git",.upToNextMinor(from:"1.9.0")),],
targets:[.target(
// ...
dependencies:[.product(name:"Clibgit2",package:"swift-libgit2"),]),])

Then, import Clibgit2 in your code:

import Clibgit2
// ...

About

Swift Package for libgit2

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages