package git

  1. Overview
  2. Docs

Pack files.

type t = Packed_value.pic list

A pack value is an ordered list of position-independant packed values and the keys of the corresponding inflated objects.

val keys : t -> Hash.Set.t

Return the keys present in the pack.

include S with type t := t
val equal : t -> t -> bool

Are two objects equal?

val hash : t -> int

Hash an object.

val compare : t -> t -> int

Compare two objects.

val pp : t Fmt.t

pp is the pretty-printer for values of type t.

type raw

The type for raw packs.

module Raw : sig ... end
module type IO = sig ... end
module IO (D : Hash.DIGEST) (I : Inflate.S) : IO