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.
12 lines
440 B
Erlang
12 lines
440 B
Erlang
-record(geef_ref, {handle, type :: atom(), target :: binary() | geef_oid()}).
|
|
-record(geef_odb, {handle}).
|
|
-record(geef_oid, {oid}).
|
|
-record(geef_object, {type :: atom(), handle}).
|
|
-record(geef_index_entry, {mode, id :: geef_oid(), path :: iolist()}).
|
|
|
|
-type geef_ref() :: #geef_ref{}.
|
|
-type geef_odb() :: #geef_odb{}.
|
|
-type geef_oid() :: #geef_oid{}.
|
|
-type geef_object() :: #geef_object{}.
|
|
-type geef_index_entry() :: #geef_index_entry{}.
|