diff options
author | Linus Nordberg <linus@nordberg.se> | 2015-05-05 21:07:31 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2015-05-05 21:07:31 +0200 |
commit | 4debec0f967d429f3cc9011eff898bc5e5585bda (patch) | |
tree | c2631aa6318660c0392985266a2a00ee1985c562 /src/db.erl | |
parent | bbccb14d1be52a3375b44da7c68323c30c0ce985 (diff) |
Dialyzer clean.
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), |