package irmin-git

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

Module Irmin_gitSource

Git backend

Sourcemodule Metadata : sig ... end
Sourcemodule Conf : sig ... end
Sourcemodule Branch : sig ... end

one-to-one mapping between Irmin and Git branches.

Sourcemodule Reference : sig ... end

one-to-one mapping between Irmin and Git references.

Sourcemodule Schema : sig ... end

Module types

Sourcemodule type G = sig ... end
Sourcemodule type S = sig ... end

The Git backend specializes a few types:

Sourcemodule type Maker = sig ... end
Sourcemodule type KV_maker = sig ... end
Sourceval config : ?head:Git.Reference.t -> ?bare:bool -> ?level:int -> ?dot_git:string -> ?buffers:int -> string -> Irmin.config
Sourcetype reference = Reference.t
Sourceval reference_t : reference Irmin.Type.t
Sourcemodule Content_addressable (G : Git.S) : sig ... end

Use Git as a content-addressable store. Values will be stored into .git/objects.

Sourcemodule Atomic_write (G : Git.S) : sig ... end

Use Git as an atomic-write store. Values will be stored into .git/refs. When using the Git filesystem backend, branch names .

Sourcemodule Maker (G : G) (S : Git.Sync.S with type hash := G.hash and type store := G.t) : Maker with module G := G
Sourcemodule KV (G : G) (S : Git.Sync.S with type hash := G.hash and type store := G.t) : KV_maker with module G := G and type branch = string
Sourcemodule Ref (G : G) (S : Git.Sync.S with type hash := G.hash and type store := G.t) : KV_maker with module G := G and type branch = Reference.t
Sourcemodule Mem : G with type t = Digestif.SHA1.t Git.Mem.t and type hash = Digestif.SHA1.t

In-memory Git store.