Irmin_git
Git backend
module Metadata : sig ... end
module Conf : sig ... end
module Branch : sig ... end
one-to-one mapping between Irmin and Git branches.
module Reference : sig ... end
one-to-one mapping between Irmin and Git references.
module Schema : sig ... end
module type G = sig ... end
module type S = sig ... end
The Git backend specializes a few types:
module type Maker = sig ... end
module type KV_maker = sig ... end
val config :
?head:Git.Reference.t ->
?bare:bool ->
?level:int ->
?dot_git:string ->
?buffers:int ->
string ->
Irmin.config
type reference = Reference.t
val reference_t : reference Irmin.Type.t
module Content_addressable (G : Git.S) : sig ... end
Use Git as a content-addressable store. Values will be stored into .git/objects
.
module 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 .
module Generic_KV
(CA : Irmin.Content_addressable.Maker)
(AW : Irmin.Atomic_write.Maker) :
Irmin.KV_maker with type endpoint = unit and type info = Irmin.Info.default