package git

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module type COMMON = sig ... end
module Common (Hash : sig ... end) (Reference : Reference.S with module Hash := Hash) : COMMON with type hash := Hash.t and type reference := Reference.t

The Smart protocol including the encoder and the decoder.

module type DECODER = sig ... end
module Decoder (Hash : sig ... end) (Reference : Reference.S with module Hash := Hash) (Common : COMMON with type hash := Hash.t and type reference := Reference.t) : DECODER with module Hash := Hash and module Reference := Reference and module Common := Common

The functor to make the Decoder by a specific hash implementation.

module type ENCODER = sig ... end
module Encoder (Hash : sig ... end) (Reference : Reference.S with module Hash := Hash) (Common : COMMON with type hash := Hash.t and type reference := Reference.t) : ENCODER with module Hash := Hash and module Reference := Reference and module Common := Common

The functor to make the Encoder by a specific hash implementation.

module type CLIENT = sig ... end
module Client (Hash : sig ... end) (Reference : Reference.S with module Hash := Hash) : CLIENT with module Hash := Hash and module Reference := Reference

The functor to make the Client by a specific hash implementation.

OCaml

Innovation. Community. Security.