package octez-proto-libs

  1. Overview
  2. Docs
Octez protocol libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

doc/octez-proto-libs.protocol-environment/Tezos_protocol_environment/Memory_context/M/Tree/index.html

Module M.Tree

val mem : tree -> key -> bool Lwt.t
val mem_tree : tree -> key -> bool Lwt.t
val find : tree -> key -> value option Lwt.t
val find_tree : tree -> key -> tree option Lwt.t
val list : tree -> ?offset:int -> ?length:int -> key -> (string * tree) list Lwt.t
val length : tree -> key -> int Lwt.t
val add : tree -> key -> value -> tree Lwt.t
val add_tree : tree -> key -> tree -> tree Lwt.t
val remove : tree -> key -> tree Lwt.t
val fold : ?depth:Tezos_context_sigs__Context.depth -> tree -> key -> order:[ `Sorted | `Undefined ] -> init:'a -> f:(key -> tree -> 'a -> 'a Lwt.t) -> 'a Lwt.t
val config : tree -> Tezos_context_sigs.Config.t
val empty : t -> tree
val is_empty : tree -> bool
val kind : tree -> Tezos_context_sigs__Context.Kind.t
val to_value : tree -> value option Lwt.t
val of_value : t -> value -> tree Lwt.t
val hash : tree -> Tezos_base.TzPervasives.Context_hash.t
val equal : tree -> tree -> bool
val clear : ?depth:int -> tree -> unit
val pp : Format.formatter -> tree -> unit
OCaml

Innovation. Community. Security.