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/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