123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778(*
* Copyright (c) 2013-2022 Thomas Gazagnaire <thomas@gazagnaire.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*)moduletypeG=sigincludeGit.Svalv:?dotgit:Fpath.t->Fpath.t->(t,error)resultLwt.tendmoduletypeS=sigincludeIrmin_git.SwithtypeBackend.Remote.endpoint=Mimic.ctx*Smart_git.Endpoint.tvalremote:?ctx:Mimic.ctx->?headers:Cohttp.Header.t->string->Irmin.remoteLwt.tendmoduletypeBackend=sig(* FIXME: remove signature duplication *)moduleG:Irmin_git.Gtypeendpoint=Mimic.ctx*Smart_git.Endpoint.tmoduleMake(Schema:Irmin_git.Schema.SwithtypeHash.t=G.hashandtypeNode.t=G.Value.Tree.tandtypeCommit.t=G.Value.Commit.t):SwithmoduleGit=GandtypeBackend.Remote.endpoint=endpointandmoduleSchema:=SchemamoduleKV(C:Irmin.Contents.S):SwithmoduleGit=GandtypeSchema.Contents.t=C.tandtypeSchema.Metadata.t=Irmin_git.Metadata.tandtypeSchema.Info.t=Irmin.Info.defaultandtypeSchema.Path.step=stringandtypeSchema.Path.t=stringlistandtypeSchema.Hash.t=G.hashandtypeSchema.Branch.t=stringandtypeBackend.Remote.endpoint=endpointmoduleRef(C:Irmin.Contents.S):SwithmoduleGit=GandtypeSchema.Contents.t=C.tandtypeSchema.Metadata.t=Irmin_git.Metadata.tandtypeSchema.Info.t=Irmin.Info.defaultandtypeSchema.Path.step=stringandtypeSchema.Path.t=stringlistandtypeSchema.Hash.t=G.hashandtypeSchema.Branch.t=Irmin_git.referenceandtypeBackend.Remote.endpoint=endpointendmoduletypeSigs=sigmoduletypeG=GmoduletypeS=SmoduletypeBackend=Backendend