package git

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

Module Git.Index_packSource

Index pack implementation (serialization/unserialization).

Sourcemodule type LAZY = sig ... end

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

Sourcemodule 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.

Sourcemodule type DECODER = sig ... end

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

Sourcemodule 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

Sourcemodule type ENCODER = sig ... end

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

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

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