package irmin-pack

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.4.0.tbz
sha256=9e72efdc13324602d8da46e0492b1f4e09ad524149845e1a9106882f60ad6e1f
sha512=ae9cb4b086c7b93962aafc2ea339ac85c6d66bdf769f70a16f62fa5c74d9b194e12ac00b510be5ffac5adff3aa20fd69c4ca4067dcc966767fefcf5c02bc9969

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.