package irmin-pack

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.7.1.tbz
sha256=8d1a49318bda711ed44d9ea27ecd044b1d650390633d5b08f76590689c22056f
sha512=2995e6acc53dee2c59bf473c7c16c74daebfa193df552ec83ffe88fe598e26d4d8ff5da4f0cd575adaa49efa4b317d74f2c814c1b5601bed3833d76f377b6da7

doc/irmin-pack.unix/Irmin_pack_unix/Lower/Make_volume/index.html

Module Lower.Make_volumeSource

Parameters

module Io : Io.S
module Errs : Io_errors.S with module Io = Io

Signature

Sourcemodule Io = Io
Sourcemodule Errs = Errs
Sourcetype t
Sourcetype open_error = [
  1. | Io.open_error
  2. | `Closed
  3. | `Double_close
  4. | `Corrupted_control_file of string
  5. | `Unknown_major_pack_version of string
]
Sourceval v : string -> (t, [> open_error ]) result

v path loads the volume at path in read-only.

Sourceval path : t -> string

path t is the directory that contains the volume.

Sourceval is_empty : t -> bool

is_empty t returns whether t is empty or not.

control t returns the control file payload for the volume.

Sourceval identifier : t -> string

identifier t is a unique idendifier for the volume.

OCaml

Innovation. Community. Security.