package carton

  1. Overview
  2. Docs

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