package octez-libs

  1. Overview
  2. Docs
A package that contains multiple base libraries used by the Octez suite

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

doc/tezos_context_disk/Tezos_context_disk/Context_binary/Tree/index.html

Module Context_binary.TreeSource

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:[ `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 empty : t -> tree
val is_empty : tree -> bool
val kind : tree -> [ `Value | `Tree ]
val to_value : tree -> value option Lwt.t
val of_value : t -> value -> tree Lwt.t
val equal : tree -> tree -> bool
val clear : ?depth:int -> tree -> unit
val pp : Stdlib.Format.formatter -> tree -> unit
type raw = [
  1. | `Tree of raw Tezos_base.TzPervasives.String.Map.t
  2. | `Value of bytes
]
val raw_encoding : raw Tezos_base.TzPervasives.Data_encoding.t
val to_raw : tree -> raw Lwt.t
val of_raw : raw -> tree
val unshallow : tree -> tree Lwt.t
type repo
val make_repo : unit -> repo Lwt.t
val is_shallow : tree -> bool
val kinded_key : tree -> kinded_key option
OCaml

Innovation. Community. Security.