Fix some dialyzer warnings

This commit is contained in:
Carlos Martín Nieto
2013-07-17 10:37:00 +02:00
parent ed6654fe59
commit bf2a59dbf2
5 changed files with 9 additions and 6 deletions

View File

@@ -88,7 +88,7 @@ exists(Pid, Sha) ->
#geef_oid{oid=Oid} = geef_oid:parse(Sha),
gen_server:call(Pid, {exists, Oid}).
-spec write(pid(), iolist(), atom()) -> {ok, geef_oid()} | {error, term}.
-spec write(pid(), iolist(), atom()) -> {ok, geef_oid()} | {error, term()}.
write(Pid, Contents, Type) ->
gen_server:call(Pid, {write, Contents, Type}).