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.2.tbz
sha256=2a1e6a7577e498fbfeb678d666da210dc48d1344637e8ecb653e1dd88c640b5f
sha512=3fb6f49a1af2f8bab1df5b6f5affaaa09f09fe892a08eb2d9de58138e56646d4a6797f3c087b22875e36e3411218ab2435fe5437ac78f323dd661932af021fad

doc/irmin-pack.unix/Irmin_pack_unix/KV/Maker/Make/Backend/Node/Val/index.html

Module Node.ValSource

Sourcetype t = value
Sourcetype metadata = Metadata.t
Sourceval metadata_t : metadata Irmin.Type.t
Sourcetype contents_key = Contents.key
Sourceval contents_key_t : contents_key Irmin.Type.t
Sourcetype node_key = key
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
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;
}
OCaml

Innovation. Community. Security.