summaryrefslogtreecommitdiff
path: root/src/ts.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ts.erl')
-rw-r--r--src/ts.erl9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/ts.erl b/src/ts.erl
index 841fdd7..e60a114 100644
--- a/src/ts.erl
+++ b/src/ts.erl
@@ -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.