Carlos Martín Nieto
b5aca803db
Give each const group a type
...
This allows us to restrict which constants the compiler will allow
through, and makes the sorting in the documentation better.
2013-09-12 10:46:20 +02:00
Carlos Martín Nieto
ef5fc37870
Tree: add EntryByPath
...
The more powerful version of EntryByName.
2013-09-12 10:16:49 +02:00
Carlos Martín Nieto
3cbfdf37f4
Add Filemode to TreeEntry
...
This field was missing, so let's add it, and let's add the const
definitions for the modes while we're here.
2013-09-09 14:21:16 +02:00
Axel Wagner
28b5284389
Use ObjectType in TreeEntry
2013-04-26 23:28:32 +02:00
Vicent Marti
2bf17ba2f1
Ok, now with shared base object
2013-04-18 00:54:46 +02:00
Vicent Marti
d190d8a6b3
Take 2 on polymorphism
2013-04-16 23:04:35 +02:00
Carlos Martín Nieto
c854239784
TreeEntry: use Id instead of Oid
...
Name it like The Library and the rest of the bindings.
2013-03-08 21:26:19 +01:00
Carlos Martín Nieto
d43561fbf7
Free Git objects via finalizers or manually
...
Provide a manual way of freeing objects, but set finalizers for them
in case the user does not want to worry about memory management, which
would be useful for commits or trees, which sare typically small.
When the objects are freed manually, the finalizer is unset to avoid
double-freeing, mimicking what the go runtime does.
2013-03-06 01:47:53 +01:00
Vicent Marti
b1d50b70ea
Initial commit
2013-03-05 20:53:04 +01:00