package tezos-context

  1. Overview
  2. Docs
Tezos: on-disk context abstraction for `octez-node`

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-16.1.tar.gz
sha256=43723d096307603703a1a89ed1b2eb202b365f5e7824b96b0cbf813b343a6cf7
sha512=b2a637f2e965000d3d49ad85277ca24d6cb07a1a7cf2bc69d296d8b03ad78c3eaa8e21e94b9162e62c2e11649cd03bc845b2a3dafe623b91065df69d47dc8e4f

doc/tezos-context.memory/Tezos_context_memory/Context/Tree/index.html

Module Context.TreeSource

val mem : tree -> key -> bool Lwt.t
val mem_tree : tree -> key -> bool Lwt.t
val find : tree -> key -> value option Lwt.t
Sourceval find_tree : tree -> key -> tree option Lwt.t
Sourceval list : tree -> ?offset:int -> ?length:int -> key -> (string * tree) list Lwt.t
Sourceval length : tree -> key -> int Lwt.t
Sourceval add : tree -> key -> value -> tree Lwt.t
Sourceval add_tree : tree -> key -> tree -> tree Lwt.t
val remove : tree -> key -> tree Lwt.t
Sourceval 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
Sourceval empty : t -> tree
Sourceval is_empty : tree -> bool
Sourceval kind : tree -> [ `Value | `Tree ]
Sourceval to_value : tree -> value option Lwt.t
Sourceval of_value : t -> value -> tree Lwt.t
Sourceval hash : tree -> Tezos_base.TzPervasives.Context_hash.t
Sourceval equal : tree -> tree -> bool
val clear : ?depth:int -> tree -> unit
Sourceval pp : Format.formatter -> tree -> unit
Sourcetype raw = [
  1. | `Tree of raw Tezos_base.TzPervasives.String.Map.t
  2. | `Value of bytes
]
Sourceval raw_encoding : raw Tezos_base.TzPervasives.Data_encoding.t
Sourceval to_raw : tree -> raw Lwt.t
Sourceval of_raw : raw -> tree
Sourceval unshallow : tree -> tree Lwt.t
Sourcetype repo
Sourceval make_repo : unit -> repo Lwt.t
Sourceval is_shallow : tree -> bool
Sourceval kinded_key : tree -> kinded_key option
OCaml

Innovation. Community. Security.