Commit Graph

9 Commits

Author SHA1 Message Date
Carlos Martín Nieto
bb35fce5cc Implement ref iterators 2013-08-09 23:25:55 +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
d0034b1142 Add a test for revwalk 2013-04-10 19:08:05 +02:00
Carlos Martín Nieto
58aff1e129 Add revwalk support 2013-04-02 17:13:18 +02:00
Carlos Martín Nieto
d71c6ff702 Add a way to look up objects 2013-01-30 00:16:52 +01:00
Carlos Martín Nieto
7ac46fbf5e Add reference_type() 2013-01-23 06:16:49 +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