package octez-internal-libs

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Schema.NodeSource

Parameters

module Contents_key : sig ... end
module Node_key : sig ... end

Signature

Sourcetype t
Sourcetype metadata = Metadata.t
Sourceval metadata_t : metadata Irmin.Type.t
Sourcetype contents_key = Contents_key.t
Sourceval contents_key_t : contents_key Irmin.Type.t
Sourcetype node_key = Node_key.t
Sourceval node_key_t : node_key Irmin.Type.t
Sourcetype step = Path.step
Sourcetype value = [
  1. | `Contents of contents_key * metadata
  2. | `Node of node_key
]
Sourcetype hash = Hash.t
Sourceval of_list : (step * value) list -> t
Sourceval list : ?offset:int -> ?length:int -> ?cache:bool -> t -> (step * value) list
Sourceval of_seq : (unit -> (step * value) Seq.node) -> t
Sourceval seq : ?offset:int -> ?length:int -> ?cache:bool -> t -> unit -> (step * value) Seq.node
Sourceval empty : unit -> t
Sourceval is_empty : t -> bool
Sourceval length : t -> int
Sourceval hash_exn : ?force:bool -> t -> hash
Sourceval clear : t -> unit
Sourceval find : ?cache:bool -> t -> step -> value option
Sourceval add : t -> step -> value -> t
Sourceval remove : t -> step -> t
Sourcemodule Metadata : sig ... end
Sourceval with_handler : ((expected_depth:int -> node_key -> t option) -> expected_depth:int -> node_key -> t option) -> t -> t
Sourceval head : t -> [ `Inode of int * (int * hash) list | `Node of (step * value) list ]
Sourceval merge : contents:contents_key option Irmin.Merge.t -> node:node_key option Irmin.Merge.t -> t Irmin.Merge.t
Sourceexception Dangling_hash of {
  1. context : string;
  2. hash : hash;
}
Sourcemodule Portable : sig ... end
OCaml

Innovation. Community. Security.