package irmin-pack

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.1.0.tbz
sha256=d84fa343a841f663969ed6b08e5fc1b704d3ab7974858aa29471fe291a6a2f86
sha512=ab5eb4bd08ab69b97c8b9a72181c5b59d3d515e4ba63550d8a4551ec8ea72cd2d3b302fe0812379553e52891f81a9ae5d4d668382155d9c6c6eb75844a48477e

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

Module Backend.Node_portableSource

Sourcetype t = Irmin_pack_unix__Ext.Maker(Config).Make(Irmin.Schema.KV(C)).Backend.Node_portable.t
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
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.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.