Rename the object module to geef_obj

This leaves us geef_object as the record to match against.
This commit is contained in:
Carlos Martín Nieto
2013-06-05 21:32:34 +02:00
parent ac3d2d03fe
commit 133c1004ea
4 changed files with 25 additions and 10 deletions

View File

@@ -10,11 +10,11 @@
-spec lookup(pid(), geef_oid() | iolist()) -> geef_object().
lookup(Repo, Id) ->
geef_object:lookup(Repo, Id, blob).
geef_obj:lookup(Repo, Id, blob).
-spec id(geef_object()) -> geef_oid().
id(Obj = #geef_object{type=blob}) ->
geef_object:id(Obj).
geef_obj:id(Obj).
size(#geef_object{type=blob, handle=Handle}) ->
geef_nif:blob_size(Handle).