Up – octez-libs » Tezos_context_memory » Context_binary » TreeModule Context_binary.Tree
val mem : tree -> key -> bool Lwt .t
val mem_tree : tree -> key -> bool Lwt .t
val list :
tree ->
?offset :int ->
?length :int ->
key ->
(string * tree ) list Lwt .t
val length : tree -> key -> int Lwt .t
val fold :
?depth :[ `Eq of int | `Le of int | `Lt of int | `Ge of int | `Gt of int ] ->
tree ->
key ->
order :[ `Sorted | `Undefined ] ->
init :'a ->
f :(key -> tree -> 'a -> 'a Lwt .t ) ->
'a Lwt .t
val is_empty : tree -> bool
val kind : tree -> [ `Value | `Tree ]
val clear : ?depth :int -> tree -> unit
val pp : Stdlib .Format.formatter -> tree -> unit
val make_repo : unit -> repo Lwt .t
val is_shallow : tree -> bool