Use erlang:nif_error to make dialyzer happy
And mark some of the NIF functions
This commit is contained in:
@@ -25,7 +25,7 @@ open(Path) ->
|
||||
Other
|
||||
end.
|
||||
|
||||
-spec init(iolist(), boolean()) -> {ok, term()} | {error, term()}.
|
||||
-spec init(iolist(), boolean()) -> {ok, repo()} | {error, term()}.
|
||||
init(Path, Bare) ->
|
||||
case geef:repository_init(Path, Bare) of
|
||||
{ok, Handle} ->
|
||||
|
||||
Reference in New Issue
Block a user