package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t =
  1. | Commit_v1
  2. | Commit_v2
  3. | Contents
  4. | Inode_v1_unstable
  5. | Inode_v1_stable
  6. | Inode_v2_root
  7. | Inode_v2_nonroot
  8. | Dangling_parent_commit
val t : t Irmin.Type.t
val all : t list
val to_enum : t -> int
val to_magic : t -> char
val of_magic_exn : char -> t
val pp : t Fmt.t
val length_header_exn : t -> [ `Varint ] option

Raises an exception on Contents, as the availability of a length header is user defined.

OCaml

Innovation. Community. Security.