Carlos Martín Nieto
0d24afb089
Get rid of the tagged OID
...
This means we no longer accept any iolist in some of the functions,
but we might bring it back later.
There is also a new function, geef_ref:create_symbolic() to create
symbolic references, since we can no longer differentiate between a
name and an OID.
2013-09-03 20:37:00 +02:00
Carlos Martín Nieto
15ba2dd65f
Add support for index_entry's size field
2013-09-01 19:56:35 +02:00
Carlos Martín Nieto
e39a17fe43
Allow retrieval of index entries
...
This is still very basic, as we only actually load three fields into
the record.
2013-09-01 15:30:15 +02:00
Carlos Martín Nieto
0bbb69122b
Make sure to test geef_ref:resolve()
2013-08-31 17:34:24 +02:00
Carlos Martín Nieto
bb35fce5cc
Implement ref iterators
2013-08-09 23:25:55 +02:00
Carlos Martín Nieto
f8f791296a
Put the ref tests under the same function
2013-06-09 02:19:53 +02:00
Carlos Martín Nieto
e8684471c0
Add ref shorthand function
2013-06-09 02:14:35 +02:00
Carlos Martín Nieto
042156d843
Bind ref name dwim
2013-06-07 17:55:16 +02:00
Carlos Martín Nieto
ac3d2d03fe
Rename the ref record to geef_reference
...
Remove the access hacks for elixir and make :geef_reference an elixir
macro as well.
2013-06-05 21:22:25 +02:00
Carlos Martín Nieto
4a2f2e8ab2
Namespace the records
...
This makes it useful for users of the bindings. The naming is the same
as the module to allow elixir to treat the records in much the same
way as its native module/record hybrid.
2013-05-13 11:05:59 +02:00
Carlos Martín Nieto
1077a055dc
Remove geef_ref:target/1, use the record
2013-05-11 04:01:55 +02:00
Carlos Martín Nieto
1621871387
Simpify rm_r
2013-05-04 01:05:35 +02:00
Carlos Martín Nieto
3f4d51c0e1
Simple version of index_add
2013-05-03 23:42:49 +02:00
Carlos Martín Nieto
b420b61c19
Clean up after the repo tests
2013-05-02 19:40:01 +02:00
Carlos Martín Nieto
0aa11d8532
Allow creation of refs
2013-05-02 06:24:15 +02:00
Carlos Martín Nieto
353995a2da
Properly stop the repo and revwalk servers
...
Return the 4-tuple when asked to stop instead of the 3-tuple so we do
indicate the stop was normal.
2013-04-10 20:11:07 +02:00
Carlos Martín Nieto
8d7fbb1ec5
Add a couple more tests
2013-03-30 15:11:29 +01:00