Tidy line length

This commit is contained in:
martinsumner 2017-02-27 12:24:26 +00:00
parent 8d3f4bd4dc
commit 2db28c3028

View file

@ -4,8 +4,8 @@
%% - Keys, Metadata and Values are not persisted together - the Keys and %% - Keys, Metadata and Values are not persisted together - the Keys and
%% Metadata are kept in a tree-based ledger, whereas the values are stored %% Metadata are kept in a tree-based ledger, whereas the values are stored
%% only in a sequential Journal. %% only in a sequential Journal.
%% - Different file formats are used for Journal (based on constant %% - Different file formats are used for Journal (based on DJ Bernstein
%% database), and the ledger (sft, based on sst) %% constant database), and the ledger (based on sst)
%% - It is not intended to be general purpose, but be primarily suited for %% - It is not intended to be general purpose, but be primarily suited for
%% use as a Riak backend in specific circumstances (relatively large values, %% use as a Riak backend in specific circumstances (relatively large values,
%% and frequent use of iterators) %% and frequent use of iterators)
@ -464,7 +464,9 @@ handle_call({head, Bucket, Key, Tag}, _From, State) ->
{_SeqN, {active, TS}, _MH, MD} -> {_SeqN, {active, TS}, _MH, MD} ->
case TS >= leveled_codec:integer_now() of case TS >= leveled_codec:integer_now() of
true -> true ->
OMD = leveled_codec:build_metadata_object(LedgerKey, MD), OMD =
leveled_codec:build_metadata_object(LedgerKey,
MD),
{reply, {ok, OMD}, State}; {reply, {ok, OMD}, State};
false -> false ->
{reply, not_found, State} {reply, not_found, State}