b6703d4767
There is no need for a struct with a single field. An Oid is 20 bytes which hold the binary representation of the hash, so let's use that directly. Go lets us have methods on this new type just the same. |
||
---|---|---|
script | ||
.travis.yml | ||
LICENSE | ||
README.md | ||
blob.go | ||
branch.go | ||
checkout.go | ||
clone.go | ||
commit.go | ||
config.go | ||
credentials.go | ||
git.go | ||
git_test.go | ||
index.go | ||
index_test.go | ||
object.go | ||
object_test.go | ||
odb.go | ||
odb_test.go | ||
packbuilder.go | ||
push.go | ||
push_test.go | ||
reference.go | ||
reference_test.go | ||
remote.go | ||
repository.go | ||
submodule.go | ||
tree.go | ||
walk.go | ||
wrapper.c |
README.md
git2go
Go bindings for libgit2. These bindings are for top-of-the-branch libgit2, and they move fast, things may or may not work. Operator get me Beijing-jing-jing-jing!
Installing
Just go get github.com/libgit2/git2go
. You'll need to have top-of-the-branch libgit2 from development installed in your system and available via pkg-config
. These bindings are in sync with the top of development
.
License
M to the I to the T. See the LICENSE file if you've never seen a MIT license before.
Authors
- Carlos Martín (@carlosmn)
- Vicent Martí (@vmg)