SkillAgentSearch skills...

Git2Swift

Swift binding for libgit2 library

Install / Use

/learn @damicreabox/Git2Swift
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Build Status

Git2Swift

Swift library to manage GIT repository. Implement Swift binding of native libgit2 C library.

About

At the moment, only some libgit2 features are implemented. Merge requests are welcome.

Available features:

  • RepositoryManager
    • Open
    • Init (bare)
  • Repository
    • Branches
      • Get
      • Create
      • Remove
      • List
    • Tags
      • Get
      • Create
      • Remove
      • List
  • Index
    • Add
    • Remove
    • Save
    • Load
    • Clear
  • Head
    • Analysis merge
    • Merge
    • Checkout (branch, tag, tree)
    • Reset (soft, hard)
  • Statues
    • WorkingDirectoryClean
    • List all
  • Tree (only concept)
  • Remotes
    • List
    • Get
    • Pull
    • Push
    • Autheticate
      • Password
      • SSH key
  • Revisions
    • Revision iterator
    • File revision iterator
    • Diff
      • Diff entry (partial)
    • Tree
      • Tree entry (partial)

How to compile

Tested on MacOs Sierra with XCode 8

libgit2 must be installed in /usr/local directory.

How to test credential

Create JSON file containing credential information like Tests/Sample.json
And set environnement variable AUTH_CONFIG_TEST_FILE with full path to JSON file.

View on GitHub
GitHub Stars9
CategoryDevelopment
Updated1y ago
Forks4

Languages

Swift

Security Score

70/100

Audited on Dec 18, 2024

No findings