package irmin-pack

  1. Overview
  2. Docs
Irmin backend which stores values in a pack file

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.5.1.tbz
sha256=cd788a8d3f4a3dd18dc160a153d4aec91eaf6b0fb41ad41464d26c79c304a98e
sha512=4f97862678d35e0b4aa814a1df51d6f8c59bcf5b611c73f0a475f9b5386ca42a4a18e65ce80fc425ddad93fcdacfcb563c52f6423777610a0bc567902f4db088

doc/irmin-pack.unix/Irmin_pack_unix/Maker/Make/Backend/Node_portable/index.html

Module Backend.Node_portableSource

Sourcetype contents_key = Hash.t
Sourceval contents_key_t : contents_key Irmin.Type.t
Sourcetype node_key = Hash.t
Sourceval node_key_t : node_key Irmin.Type.t
Sourcetype value = [
  1. | `Contents of contents_key * Schema.Metadata.t
  2. | `Node of node_key
]
Sourceval of_list : (Schema.Path.step * value) list -> t
Sourceval list : ?offset:int -> ?length:int -> ?cache:bool -> t -> (Schema.Path.step * value) list
Sourceval of_seq : (unit -> (Schema.Path.step * value) Seq.node) -> t
Sourceval seq : ?offset:int -> ?length:int -> ?cache:bool -> t -> unit -> (Schema.Path.step * value) Seq.node
Sourceval empty : unit -> t
Sourceval is_empty : t -> bool
Sourceval length : t -> int
Sourceval hash_exn : ?force:bool -> t -> Hash.t
Sourceval clear : t -> unit
Sourceval find : ?cache:bool -> t -> Schema.Path.step -> value option
Sourceval add : t -> Schema.Path.step -> value -> t
Sourceval remove : t -> Schema.Path.step -> t
module 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.t) list | `Node of (Schema.Path.step * value) list ]
Sourceval of_node : Node.value -> t
Sourceval merge : contents:contents_key option Irmin.Merge.t -> node:node_key option Irmin.Merge.t -> t Irmin.Merge.t
Sourcetype proof = [
  1. | `Blinded of Hash.t
  2. | `Inode of int * (int * proof) list
  3. | `Values of (Schema.Path.step * value) list
]
Sourceval to_proof : t -> proof
Sourceval of_proof : depth:int -> proof -> t option
OCaml

Innovation. Community. Security.