Carlos Martín Nieto
42d0aef29d
Adjust to git_buf and oid->id changes
2014-02-13 14:51:24 +01:00
Carlos Martín Nieto
9f500e3fa0
Release binaries after creating writable copy
2013-06-04 23:37:03 +02:00
Carlos Martín Nieto
616a358dc7
Prefer binary realloc to self-managed buffers
...
Use erlang's allocator and simplify the code by writing into the
buffer we're going to give back anyway.
Also introduce a function to NUL-terminate iolist buffers, which can
avoid memory copying.
2013-05-02 13:16:02 +02:00
Carlos Martín Nieto
ef7d2d5490
Return {error, enonmem} in OOM situations
2013-05-02 11:51:28 +02:00
Carlos Martín Nieto
2d1d1456ec
Bind repository discovery
2013-03-31 22:20:35 +02:00
Carlos Martín Nieto
aa1ba5bfa5
Have geef_odb:exists take an oid properly
2013-03-31 21:29:25 +02:00
Carlos Martín Nieto
125e132af9
Add geef_odb:write
2013-03-30 15:11:05 +01:00
Carlos Martín Nieto
5ede846988
Accepts paths as iolists
2013-01-25 00:20:42 +01:00
Carlos Martín Nieto
6dea8e6930
Make it more erlang-esque
...
pmods are going away, use prefixed namespaces.
2013-01-23 16:27:42 +01:00
Carlos Martín Nieto
2dcbb33b46
Update the bidindings
...
Make repository parametrized
2013-01-21 03:48:51 +01:00
Carlos Martín Nieto
27e72e5173
Refactor the code into separate files
...
Separate repository/odb functions into their own file. Add odb_exists
to go through the repository's odb. Adjust the test script.
2012-08-14 02:39:41 +02:00