package irmin-git

  1. Overview
  2. Docs
Git backend for Irmin

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.10.0.tbz
sha256=92a9de7a0a2a35c2feba0c35a806b1f0df24c1c0d15164eebf3f919296d26715
sha512=0203ec5117a851ad5afeb2f9091659b4e142e231b6b945caab93f4d7beb23397c8ac43f7056e91d18f4bff0be1062f6ae966d221f877c229328c0cbbf29fd9f0

doc/irmin-git/Irmin_git/index.html

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.

OCaml

Innovation. Community. Security.

On This Page
  1. Module types