package carton

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

carton-1.1.0.tbz
sha256=f7d8bf836b5ae2c7d72b72460f1319a176351923b446395f6551906d3a273628
sha512=534b12ec8ba73d135dc8242d49cdac064414cf6c2257d6aac30b163697c676b9f5571ba85dec2af5116693e4520fb9bc97bc20f2356b05bc39817eea50a175d8

doc/carton/Carton/Uid/index.html

Module Carton.UidSource

An object can be identified by a unique identifier that needs to be calculated by an algorithm such as a hash algorithm. These identifiers can be used to refer to a possible source when we have a First_pass.kind.Ref entry.

This means that all the Uids used must have strictly the same size, which corresponds in particular to ref_length — the value required to decode a PACK file.

Sourcetype t = private string
Sourceval unsafe_of_string : string -> t
Sourceval pp : Format.formatter -> t -> unit
Sourceval compare : t -> t -> int
Sourceval equal : t -> t -> bool