package git

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Index pack implementation (serialization/unserialization).

module type LAZY = sig ... end

Interface which describes the lazy implementation of the decoder of an IDX file.

module Lazy (Hash : sig ... end) : LAZY with module Hash := Hash

The functor to make the lazy decoder of the IDX file. Internally, we use a Cstruct.t representation of the IDX file notified to the make function. This Cstruct.t should never change by the client. All processes available in this module read only the content.

module type DECODER = sig ... end

Interface which describes the implementation of the decoder of an IDX file.

module Decoder (Hash : sig ... end) : DECODER with module Hash := Hash

The functor to make the decoder module by a specific hash implementation. We constraint the Hash.S module to compute a

module type ENCODER = sig ... end

Interface which describes the implementation of the encoder of an IDX file.

module Encoder (Hash : sig ... end) : ENCODER with module Hash := Hash

The functor to make the encoder module by a specific hash implementation.

OCaml

Innovation. Community. Security.