Git to Go; bindings for libgit2. Like McDonald's but tastier.
Go to file
Carlos Martín Nieto b6703d4767 Oid: make the type directly [20]byte
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.
2014-03-19 03:56:50 +01:00
script Add a travis script 2014-02-28 15:15:32 +01:00
.travis.yml Add a travis script 2014-02-28 15:15:32 +01:00
LICENSE Initial commit 2013-03-05 20:53:04 +01:00
README.md Update README 2013-03-06 17:06:01 +01:00
blob.go fix chunk create logic 2014-03-16 22:09:12 -07:00
branch.go move return outside of switch for go 1.0 / travis 2014-02-28 11:08:15 -08:00
checkout.go CheckoutIndex: allow for index to be nil 2014-03-11 03:30:56 +01:00
clone.go clean up clone code 2014-03-11 13:22:00 -07:00
commit.go Added git error code to the error object. 2014-02-26 16:10:00 +01:00
config.go Convert the rest of the errors 2014-02-26 16:14:31 +01:00
credentials.go cleanup clone code 2014-03-11 13:19:12 -07:00
git.go Oid: make the type directly [20]byte 2014-03-19 03:56:50 +01:00
git_test.go add push, refine remotes 2014-02-27 16:36:44 -08:00
index.go Convert the rest of the errors 2014-02-26 16:14:31 +01:00
index_test.go Add @carlosmn's tests 2013-04-16 23:18:35 +02:00
object.go ObjectType: capitalise Tag 2013-11-14 00:24:44 +01:00
object_test.go Camel-case constants 2013-09-12 10:40:57 +02:00
odb.go Convert the rest of the errors 2014-02-26 16:14:31 +01:00
odb_test.go Test for Odb hash function. 2014-01-25 22:18:43 +01:00
packbuilder.go Added git error code to the error object. 2014-02-26 16:10:00 +01:00
push.go fix return for old go versions / travis 2014-03-11 13:45:27 -07:00
push_test.go add push, refine remotes 2014-02-27 16:36:44 -08:00
reference.go Merge pull request #59 from libgit2/cmn/refs 2014-02-27 17:03:39 +01:00
reference_test.go Add a few reference utility functions 2014-02-26 14:51:04 +01:00
remote.go remove strarray wrappers 2014-03-11 16:25:22 -07:00
repository.go add blob chunk creation, creation of tree builders for specific trees, minor API cleanup 2014-03-07 16:43:20 -08:00
submodule.go merge latest, cleanup error handling, add thread locks 2014-02-26 10:41:20 -08:00
tree.go add blob chunk creation, creation of tree builders for specific trees, minor API cleanup 2014-03-07 16:43:20 -08:00
walk.go add blob chunk creation, creation of tree builders for specific trees, minor API cleanup 2014-03-07 16:43:20 -08:00
wrapper.c remove strarray wrappers 2014-03-11 16:25:22 -07:00

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)