package irmin-git

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

Module Irmin_gitSource

Git backend

Sourcemodule Metadata : Irmin.Metadata.S with type t = [ `Normal | `Exec | `Link | `Everybody ]
Sourceval config : ?config:Irmin.config -> ?head:Git.Reference.t -> ?bare:bool -> ?level:int -> ?dot_git:string -> string -> Irmin.config
Sourceval level : int option Irmin.Private.Conf.key
Sourceval dot_git : string option Irmin.Private.Conf.key
Sourcemodule Content_addressable (G : Git.S) (V : Irmin.Type.S) : Irmin.CONTENT_ADDRESSABLE_STORE with type 'a t = bool ref * G.t and type key = G.hash and type value = V.t
Sourcemodule type G = sig ... end
Sourcemodule Mem : G with type t = Digestif.SHA1.t Git.Mem.t and type hash = Digestif.SHA1.t

In-memory Git store.

Sourcemodule type S = sig ... end

The Git backend specializes a few types:

Sourcemodule type S_MAKER = functor (G : G) -> functor (S : Git.Sync.S with type hash = G.hash and type store = G.t) -> functor (C : Irmin.Contents.S) -> functor (P : Irmin.Path.S) -> functor (B : Irmin.Branch.S) -> S with type key = P.t and type step = P.step and module Key = P and type contents = C.t and type branch = B.t and module Git = G and type Private.Sync.endpoint = Mimic.ctx * Smart_git.Endpoint.t

The Git backend specializes a few types:

Sourcemodule type KV_MAKER = functor (G : G) -> functor (S : Git.Sync.S with type hash = G.hash and type store = G.t) -> functor (C : Irmin.Contents.S) -> S with type key = string list and type step = string and type contents = C.t and type branch = string and module Git = G and type Private.Sync.endpoint = Mimic.ctx * Smart_git.Endpoint.t

The Git backend specializes a few types:

Sourcetype reference = [
  1. | `Branch of string
  2. | `Remote of string
  3. | `Tag of string
  4. | `Other of string
]
Sourcemodule type REF_MAKER = functor (G : G) -> functor (S : Git.Sync.S with type hash = G.hash and type store = G.t) -> functor (C : Irmin.Contents.S) -> S with type key = string list and type step = string and type contents = C.t and type branch = reference and module Git = G and type Private.Sync.endpoint = Mimic.ctx * Smart_git.Endpoint.t

The Git backend specializes a few types:

The Git backend specializes a few types:

The Git backend specializes a few types:

The Git backend specializes a few types:

Sourcemodule type BRANCH = sig ... end
Sourcemodule Reference : BRANCH with type t = reference
Sourcemodule Make_ext (G : G) (S : Git.Sync.S with type hash := G.hash and type store := G.t) (C : Irmin.Contents.S) (P : Irmin.Path.S) (B : BRANCH) : S with type key = P.t and type step = P.step and module Key = P and type contents = C.t and type branch = B.t

The Git backend specializes a few types:

Sourcemodule Generic (CA : Irmin.CONTENT_ADDRESSABLE_STORE_MAKER) (AW : Irmin.ATOMIC_WRITE_STORE_MAKER) (C : Irmin.Contents.S) (P : Irmin.Path.S) (B : Irmin.Branch.S) : Irmin.S with type contents = C.t and type key = P.t and type branch = B.t and type step = P.step and type metadata = Metadata.t and type hash = Digestif.SHA1.t