aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/BranchIndex.ml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/kernel/BranchIndex.ml2
-rw-r--r--lib/kernel/BranchIndex.mli2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/BranchIndex.ml b/lib/kernel/BranchIndex.ml
index d1efa9a..00bd44d 100644
--- a/lib/kernel/BranchIndex.ml
+++ b/lib/kernel/BranchIndex.ml
@@ -21,8 +21,8 @@ module Make (Store : Abstract.Storage.STORAGE) = struct
type tree = Tree.node
let empty = Tree.empty
+ let empty_under = Tree.empty_under
let hash_of = Tree.hash_of
- let persist = Tree.persist
let find = Tree.find
let find_branch = Tree.lookup
let put_branch = Tree.insert
diff --git a/lib/kernel/BranchIndex.mli b/lib/kernel/BranchIndex.mli
index 5a867bf..ec7bfc7 100644
--- a/lib/kernel/BranchIndex.mli
+++ b/lib/kernel/BranchIndex.mli
@@ -9,8 +9,8 @@ module Make (Store : Abstract.Storage.STORAGE) : sig
type tree
val empty : tree
+ val empty_under : Store.transaction -> (address, Concepts.Condition.condition) result
val hash_of : tree -> root
- val persist : Store.transaction -> tree -> (root, Concepts.Condition.condition) result
val find : Store.transaction -> root -> (tree option, Concepts.Condition.condition) result
val find_branch :