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
0aa11d8532
Allow creation of refs
2013-05-02 06:24:15 +02:00
Carlos Martín Nieto
011068f51c
Expose reference_name_to_id
2013-04-02 07:30:02 +02:00
Carlos Martín Nieto
5a58abc4a0
Let geef_ref:target/1 handle both oid and symrefs
2013-01-25 15:22:14 +01:00
Carlos Martín Nieto
5ede846988
Accepts paths as iolists
2013-01-25 00:20:42 +01:00
Carlos Martín Nieto
b42a02b0c5
Get rid of unused variables
2013-01-24 23:57:02 +01:00
Carlos Martín Nieto
7d76f18a55
More complete ref bindings
2013-01-24 23:55:42 +01:00
Carlos Martín Nieto
468695adb5
reference_id -> reference_target
2013-01-24 23:36:17 +01:00
Carlos Martín Nieto
7ac46fbf5e
Add reference_type()
2013-01-23 06:16:49 +01:00
Carlos Martín Nieto
71eea735d2
Add oid_parse(Sha)
2013-01-22 15:49:12 +01:00
Carlos Martín Nieto
880d7b76fb
reference: add id() to get the sha
2013-01-21 15:28:43 +01:00
Carlos Martín Nieto
2dcbb33b46
Update the bidindings
...
Make repository parametrized
2013-01-21 03:48:51 +01:00