Commit Graph

16 Commits

Author SHA1 Message Date
Carlos Martín Nieto
328b2c4b4b Allow getting a tree entry by position 2013-06-12 02:34:53 +02:00
Carlos Martín Nieto
b671c5110e Implement Access for Geef.Tree
Make Geef.Tree its own record so we can define the protocol
implementation for it. There shouldn't be any generic functions you'd
want to call on a tree record.
2013-06-12 00:05:04 +02:00
Carlos Martín Nieto
2f20e18b56 Refactor elixir code
This should lead to better overview
2013-06-11 23:01:28 +02:00
Carlos Martín Nieto
9d222df593 Initial signature test 2013-06-11 16:34:02 +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
8244057d75 Use a macro to convert Geef.Object to :geef_object 2013-06-07 10:58:24 +02:00
Carlos Martín Nieto
a0ded06b7a Create a record for tree entries 2013-06-06 14:08:53 +02:00
Carlos Martín Nieto
267353ea21 Wrap the rest of the object modules in elixir 2013-06-06 11:14:57 +02:00
Carlos Martín Nieto
f82f47c025 Wrap :geef_pkt with elixir 2013-06-06 10:42:22 +02:00
Carlos Martín Nieto
a80b7bc221 Use elixir names for elixir records
Follow the example set by elixir's use of FileInfo and use elixir-y
names for refs and objects, and convert them to :geef_reference and
:geef_object when we pass them down to erlang geef.
2013-06-06 01:48:15 +02:00
Carlos Martín Nieto
d21d2cb9b0 Keep an object's id in the record
We have the information there anyway, so don't make us allocate a new
binary every time.
2013-06-05 22:15:40 +02:00
Carlos Martín Nieto
133c1004ea Rename the object module to geef_obj
This leaves us geef_object as the record to match against.
2013-06-05 21:42: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
9f82af2ac3 Add odb and reference wrappers 2013-06-05 01:40:08 +02:00
Carlos Martín Nieto
21c5c8ca2d Add experimental elixir Geef.Repository wrapper 2013-06-05 00:57:19 +02:00