package carton

  1. Overview
  2. Docs
Implementation of PACKv2 file in OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

carton-1.3.0.tbz
sha256=0e709c06a5aeb2e6dea3282107167e143b9c22bc528ed75a8150067dbd8f957b
sha512=a1e2129b929f4dee96f8eabace173a57987a42657089135193a5f496088ba5e8fb2c620c4276a7385d2d97da4bbada5fb6790e230ade3b50df2d351bcde739a2

doc/carton/Carton/Kind/index.html

Module Carton.KindSource

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.

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

The type of kinds of objects.

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