Rename geef_tree:bypath -> get

This commit is contained in:
Carlos Martín Nieto
2013-05-04 00:25:06 +02:00
parent 3f4d51c0e1
commit fc80d6d836
2 changed files with 6 additions and 4 deletions

View File

@@ -29,6 +29,7 @@ lookup(Repo, Id, Type) ->
{error, Err}
end.
-spec id(object()) -> {ok, oid()} | {error, term()}.
id(#object{handle=Handle}) ->
case geef_nif:object_id(Handle) of
{ok, Oid} ->