Parametrize odb

This commit is contained in:
Carlos Martín Nieto
2013-01-21 12:02:11 +01:00
parent 1d2a016cd9
commit ff2b868526
4 changed files with 18 additions and 11 deletions

View File

@@ -12,3 +12,11 @@ bare() ->
references() ->
geef:reference_list(Handle).
odb() ->
case geef:repository_get_odb(Handle) of
{ok, Odb} ->
odb:new(Odb);
other ->
other
end.