package octez-internal-libs

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

Install

Dune Dependency

Authors

Maintainers

Sources

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

doc/octez-internal-libs.irmin/Irmin/Json_tree/index.html

Module Irmin.Json_treeSource

Parameters

module Store : sig ... end

Signature

include Contents.S with type t = Contents.json

Signature for store contents

The type for user-defined contents.

Sourceval t : t Type.t
Sourceval merge : t option Merge.t

Merge function. Evaluates to `Conflict msg if the values cannot be merged properly. The arguments of the merge function can take None to mean that the key does not exists for either the least-common ancestor or one of the two merging points. The merge function returns None when the key's value should be deleted.

Sourceval to_concrete_tree : t -> Store.Tree.concrete
Sourceval of_concrete_tree : Store.Tree.concrete -> t
Sourceval get_tree : Store.tree -> Store.path -> t Lwt.t

Extract a json value from tree at the given key.

Sourceval set_tree : Store.tree -> Store.path -> t -> Store.tree Lwt.t

Project a json value onto a tree at the given key.

Extract a json value from a store at the given key.

Sourceval set : Store.t -> Store.path -> t -> info:(unit -> Store.info) -> unit Lwt.t

Project a json value onto a store at the given key.

OCaml

Innovation. Community. Security.