Commit Graph

5 Commits

Author SHA1 Message Date
Carlos Martín Nieto
3110f37ff7 Wrap commit creation 2013-11-24 16:23:01 +01: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
b2e366027b Add geef_commit:tree() 2013-02-17 23:45:03 +01:00
Carlos Martín Nieto
6d34f99520 Add geef_commit:tree_id 2013-02-17 21:25:32 +01:00