package octez-l2-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type tree = tree
val mem : tree -> string list -> bool Lwt.t
val mem_tree : tree -> string list -> bool Lwt.t
val find : tree -> string list -> bytes option Lwt.t
val find_tree : tree -> string list -> tree option Lwt.t
val list : tree -> ?offset:int -> ?length:int -> string list -> (string * tree) list Lwt.t
val length : tree -> string list -> int Lwt.t
val add : tree -> string list -> bytes -> tree Lwt.t
val add_tree : tree -> string list -> tree -> tree Lwt.t
val remove : tree -> string list -> tree Lwt.t
val fold : ?depth:[ `Eq of int | `Le of int | `Lt of int | `Ge of int | `Gt of int ] -> tree -> string list -> order:[ `Sorted | `Undefined ] -> init:'a -> f:(string list -> tree -> 'a -> 'a Lwt.t) -> 'a Lwt.t
val empty : t -> tree
val is_empty : tree -> bool
val kind : tree -> [ `Value | `Tree ]
val to_value : tree -> bytes option Lwt.t
val of_value : t -> bytes -> tree Lwt.t
val equal : tree -> tree -> bool
val clear : ?depth:int -> tree -> unit
val select : Tezos_tree_encoding__.Tree.tree_instance -> tree
val wrap : tree -> Tezos_tree_encoding__.Tree.tree_instance
OCaml

Innovation. Community. Security.