package octez-l2-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type key = string list
module Children : Tezos_base.TzPervasives.Map.S with type key = string
type 'a t = {
  1. value : 'a option;
  2. children : 'a t Children.t;
  3. keys_count : int;
  4. nodes_count : int;
}
val empty : 'a t
val set_value : edit_readonly:bool -> key -> 'a -> 'a t -> 'a t option
val get_value : key -> 'a t -> 'a option
val lookup : key -> 'a t -> 'a t option
val subtrees_size : key -> 'a t -> int
val copy_tree : edit_readonly:bool -> from_key:key -> to_key:key -> 'a t -> 'a t option
val move_tree : from_key:key -> to_key:key -> 'a t -> 'a t option
val delete : edit_readonly:bool -> key -> 'a t -> 'a t option
OCaml

Innovation. Community. Security.