package irmin-pack

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.2.1.tbz
sha256=9cfb7291a7d90ca0e55ece33040ad41e74cadd8c6446e04c33558bc1a1951518
sha512=9605acd77de9aae70ae96554a28594e6ed5beba70a48145c0fc2204b32bb23b843ba98cf034e88391581d5f3495154195c644d64a3aa3f8d3994a9c5518c5cda

doc/irmin-pack/Irmin_pack/Version/index.html

Module Irmin_pack.VersionSource

Management of disk-format versions.

Sourcetype t = [
  1. | `V1
  2. | `V2
]

The type for version numbers.

Sourceval compare : t -> t -> int
Sourceval latest : t
Sourceval pp : t Fmt.t

pp is the pretty-format for version numbers.

Sourceval to_bin : t -> string

to_bin t is the 8-bytes binary representation of t.

Sourceval of_bin : string -> t option

of_bin s is Some t is to_bin t is s and None otherwise.

Sourceval invalid_arg : string -> 'a

invalid_arg str raises Invalid_argument.

Sourceexception Invalid of {
  1. expected : t;
  2. found : t;
}
OCaml

Innovation. Community. Security.