Skip to content

Commit

Permalink
add a couple of specs in riakc_utils
Browse files Browse the repository at this point in the history
  • Loading branch information
hmmr committed Aug 4, 2016
1 parent 22df47c commit da505c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/riakc_utils.erl
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

-export([wait_for_list/1, characters_to_unicode_binary/1]).

-spec wait_for_list(non_neg_integer()) -> {ok, list()} | {error, any()}.
%% @doc Wait for the results of a listing operation
wait_for_list(ReqId) ->
wait_for_list(ReqId, []).
Expand All @@ -34,6 +35,7 @@ wait_for_list(ReqId, Acc) ->
{ReqId, {_, Res}} -> wait_for_list(ReqId, [Res|Acc])
end.

-spec characters_to_unicode_binary(string()|binary()) -> binary().
%% @doc Convert to unicode binary with informative errors
%% @throws {unicode_error, ErrMsg}
characters_to_unicode_binary(String) ->
Expand Down

3 comments on commit da505c8

@borshop
Copy link
Contributor

@borshop borshop commented on da505c8 Aug 4, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from lukebakken
at da505c8

@borshop
Copy link
Contributor

@borshop borshop commented on da505c8 Aug 4, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging basho/riak-erlang-client/fix-az-let_throwing_funs_return_just_value = da505c8 into borshop-integration-308-fix-az-let_throwing_funs_return_just_value

@borshop
Copy link
Contributor

@borshop borshop commented on da505c8 Aug 4, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

basho/riak-erlang-client/fix-az-let_throwing_funs_return_just_value = da505c8 merged ok, testing candidate = f1c1e5c

Please sign in to comment.