Rename the object module to geef_obj
This leaves us geef_object as the record to match against.
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user