some fixes from dialyzer output

This commit is contained in:
Ramon Snir
2015-04-13 19:15:49 +03:00
committed by Carlos Martín Nieto
parent f943274ad8
commit b2af788af0
6 changed files with 15 additions and 9 deletions

View File

@@ -115,7 +115,7 @@ commit_tree(_Handle) ->
commit_create(_RepoHandle, _Ref, _Author, _Committer, _Encoding, _Message, _Tree, _Parents) ->
?NIF_FN.
-spec commit_message(term) -> binary().
-spec commit_message(term) -> {ok, binary()} | {error, term()}.
commit_message(_CommitHandle) ->
?NIF_FN.