Skip to content

Formkunft/swift-libgit2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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:

let package = 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

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages