%%% Copyright (c) 2014, NORDUnet A/S. %%% See LICENSE for licensing information. -module(db). -export([get_by_indices/3, size/0]). size() -> 0. get_by_indices(Start, _End, _Options) when Start < 0 -> []; get_by_indices(Start, End, _Options) -> case Start =< End of true -> B = crypto:hash(sha256, <<"bar">>), lists:map(fun (Index) -> {Index, B, notfetched} end, lists:seq(Start, End)); false -> [] end.