package git-unix

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

Unix backend.

module type S = sig ... end
include S

Unix implementation

The default implementation for Unix fixes the choice of Git.Inflate.S and Git.Hash.DIGEST by using camlzip's zlib bindings and nocrypto's SHA1 and SHA256 implementations.

It also uses Lwt_unix and Lwt_io for the IO functions.

Synchronisation

module Sync : sig ... end

Filesystem

module FS : sig ... end

Implementation of the on-disk Git protocol using Lwt_unix.

module Mem : Git.Store.S

In-memory store.

Git objects

module Hash_IO : Git.Hash.IO
module Value_IO : Git.Value.IO
module Pack_IO : Git.Pack.IO
module Index_IO : Git.Index.IO
module Make (D : Git.Hash.DIGEST) (I : Git.Inflate.S) : S

Parameterize the Git implementation with different inflate and hash algorithms. Note: this might cause your implementation to not be compatible with Git anymore!

module Zlib : Git.Inflate.S

Implementation of the inflate signature using camlzip's zlib bindings.

module SHA1 : Git.Hash.DIGEST

Implementation of the digest signature using ocaml-nocrypto's Hash1 algorithm.

module SHA256 : Git.Hash.DIGEST

Implementation of the digest signature using ocaml-nocrypto's Hash256 algorithm.

OCaml

Innovation. Community. Security.