package irmin-mirage-git

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module type S = sig ... end
module type S_MAKER = functor (G : Irmin_git.G) -> 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
module type KV_MAKER = functor (G : Irmin_git.G) -> 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
module type REF_MAKER = functor (G : Irmin_git.G) -> functor (C : Irmin.Contents.S) -> S with type key = string list and type step = string and type contents = C.t and type branch = Irmin_git.reference and module Git = G
module Make : S_MAKER
module KV : KV_MAKER
module Ref : REF_MAKER
module type KV_RO = sig ... end
module KV_RO (G : Irmin_git.G) : KV_RO with type git := G.t

Functor to create a MirageOS' KV_RO store from a Git repository. The key "/HEAD" always shows the current HEAD.

module type KV_RW = sig ... end
module KV_RW (G : Irmin_git.G) (C : Mirage_clock.PCLOCK) : KV_RW with type git := G.t

Functor to create a MirageOS' KV_RW store from a Git repository.

module Mem : sig ... end

Embed an Irmin store into an in-memory Git repository.