diff options
author | Linus Nordberg <linus@nordberg.se> | 2015-03-23 15:59:33 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2015-03-23 16:01:31 +0100 |
commit | 4d586a032257ee600e2191e7e701243cd8f7e92c (patch) | |
tree | 5544295c0b32e7138754f893a653c729f32f2aa4 /src/db.erl | |
parent | 5b0b390b9336c1992b076da6f2aa8a115970f0ef (diff) |
Fix specs; remove unused file.
Add a spec; remove some warnings.
Diffstat (limited to 'src/db.erl')
-rw-r--r-- | src/db.erl | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -84,8 +84,7 @@ get_by_leaf_hash(LeafHash) -> end end. --spec get_by_entry_hash(binary()) -> notfound | - {non_neg_integer(), binary(), binary()}. +-spec get_by_entry_hash(binary()) -> notfound | {notfetched, binary(), binary()}. get_by_entry_hash(EntryHash) -> case leafhash_for_entryhash(EntryHash) of noentry -> |