Module Irmin_git

Git backend

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

In-memory Git store.

module type S = sig ... end

The Git backend specializes a few types:

module 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:

module 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:

type reference = [
| `Branch of string
| `Remote of string
| `Tag of string
| `Other of string
]
module 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:

module Make : S_MAKER

The Git backend specializes a few types:

module Ref : REF_MAKER

The Git backend specializes a few types:

module KV : KV_MAKER

The Git backend specializes a few types:

module type BRANCH = sig ... end
module Reference : BRANCH with type t = reference
module 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:

module 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