package carton

  1. Overview
  2. Docs

A PACK file contains several types of object. According to Git, it contains commits (`A), trees (`B), blobs (`C) and tags (`D). Carton is far enough removed from Git to abstract itself from the actual type of these objects.

type t = [
  1. | `A
  2. | `B
  3. | `C
  4. | `D
]

The type of kinds of objects.

val pp : Format.formatter -> t -> unit
val compare : t -> t -> int
val equal : t -> t -> bool
val to_int : t -> int
OCaml

Innovation. Community. Security.