diff options
author | Linus Nordberg <linus@nordberg.se> | 2014-09-12 17:11:23 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2014-09-12 17:11:23 +0200 |
commit | 3c07310c7d2b35c97ff96266f701444ba37433a7 (patch) | |
tree | 4184a29cab8661df88e898f1932fced48b1788bb /src/ts.erl | |
parent | 25ccd682ed4adddaa7f33ddc421e04b6988abc68 (diff) |
Add support for retrieving historical tree heads.
Diffstat (limited to 'src/ts.erl')
-rw-r--r-- | src/ts.erl | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,9 +1,16 @@ -% tree storage +%%% Copyright (c) 2014, NORDUnet A/S. +%%% See LICENSE for licensing information. +%%% + +%% tree storage, TODO: docdoc + -module(ts). -include_lib("eunit/include/eunit.hrl"). -export_type([tree_store/0]). -export([new/0, store/3, append/3, truncate/2, retrieve/2, retrieve_hash/2, delete/2]). +%% FIXME: swap IR -> RI for consistency with ht + %% FIXME: Keep the arrays in an array instead of in a map? Or maybe an %% array of binaries? Hashes do have fixed lenght. -record(tree_store, {arrays :: map()}). % Map of arrays, indexed by layer. |