diff options
Diffstat (limited to 'src/db.erl')
-rw-r--r-- | src/db.erl | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -71,12 +71,12 @@ set_treesize(Size) -> ok. -spec get_by_indices(integer(), integer(), {sorted, true|false}) -> - [{non_neg_integer(), binary(), binary()}]. + [{non_neg_integer(), binary(), notfetched}]. get_by_indices(Start, End, {sorted, _Sorted}) -> get_by_indices_helper(Start, End). --spec get_by_index(binary()) -> notfound | - {non_neg_integer(), binary(), binary()}. +-spec get_by_index(non_neg_integer()) -> + {non_neg_integer(), binary(), noentry | binary()}. get_by_index(Index) -> LeafHash = leafhash_for_index(Index), Entry = entry_for_leafhash(LeafHash), |