Skip to content

Commit

Permalink
Updated documentation for luwak_wm_file:ensure_handle/1
Browse files Browse the repository at this point in the history
  • Loading branch information
dreverri committed Nov 30, 2010
1 parent 89d45e9 commit c242f2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/luwak_wm_file.erl
Expand Up @@ -582,9 +582,9 @@ send_file_helper(Stream) ->
end
end.

%% @spec ensure_doc(context()) -> context()
%% @doc Ensure that the 'doc' field of the context() has been filled
%% with the result of a riak_client:get request. This is a
%% @spec ensure_handle(context()) -> context()
%% @doc Ensure that the 'handle' field of the context() has been filled
%% with the result of a luwak_file:get request. This is a
%% convenience for memoizing the result of a get so it can be
%% used in multiple places in this resource, without having to
%% worry about the order of executing of those places.
Expand Down

0 comments on commit c242f2d

Please sign in to comment.