Irmin_mirage_git.KV_RO
Functor to create a MirageOS' KV_RO store from a Git repository. The key "/HEAD"
always shows the current HEAD.
module G : Irmin_git.G
val connect :
?depth:int ->
?branch:string ->
?root:key ->
?ctx:Mimic.ctx ->
?headers:(string * string) list ->
G.t ->
string ->
t Lwt.t
connect ?depth ?branch ?path g uri
clones the given uri
into g
repository, using the given branch
, depth
and '/'
-separated sub-path
. By default, branch
is main, depth
is 1
and path
is empty, ie. reads will be relative to the root of the repository.