Git to Go; bindings for libgit2. Like McDonald's but tastier.
Go to file
Carlos Martín Nieto a0ea5d34ed Wrap errors
Instead of locking the thread, what we can do is wrap each function in
such a way that we can get back an error object without fear that
switching threads once back in Go-land will make us lose the right
one.
2013-09-22 00:19:20 +02: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 Ok, now with shared base object 2013-04-18 00:54:46 +02:00
checkout.go Camel-case constants 2013-09-12 10:40:57 +02:00
commit.go Merge pull request #13 from libgit2/polymorphism-take-2 2013-06-13 10:15:36 -07:00
config.go Wrap errors 2013-09-22 00:19:20 +02:00
config_test.go Wrap errors 2013-09-22 00:19:20 +02:00
git.go Wrap errors 2013-09-22 00:19:20 +02:00
git_test.go Add @carlosmn's tests 2013-04-16 23:18:35 +02:00
index.go Wrap git_index 2013-03-06 13:10:53 +01:00
index_test.go Add @carlosmn's tests 2013-04-16 23:18:35 +02:00
object.go Camel-case constants 2013-09-12 10:40:57 +02:00
object_test.go Camel-case constants 2013-09-12 10:40:57 +02:00
odb.go Merge pull request #38 from libgit2/odb-stream 2013-09-17 08:03:34 -07:00
odb_test.go Remove leftover reference to old const 2013-09-22 00:05:37 +02:00
packbuilder.go Packbuilder: compilation fixes 2013-06-17 01:55:36 +02:00
reference.go Merge pull request #36 from libgit2/ref-iter 2013-09-17 08:03:50 -07:00
reference_test.go Merge pull request #36 from libgit2/ref-iter 2013-09-17 08:03:50 -07:00
repository.go Camel-case constants 2013-09-12 10:40:57 +02:00
submodule.go Submodule: adjust to the Default -> Reset change in the library 2013-07-22 01:28:04 +02:00
tree.go Give each const group a type 2013-09-12 10:46:20 +02:00
walk.go Give each const group a type 2013-09-12 10:46:20 +02:00
wrap.h Wrap errors 2013-09-22 00:19:20 +02:00
wrapper.c Implement git_odb_foreach 2013-05-21 21:37:08 +02: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)